[fpc-pascal] Re: [fpc-pascal]'Little' problem with sockets

Vit Kavan vtech-fpc at seznam.cz
Wed Oct 17 14:49:56 CEST 2001


1. try FileClose instead of ShutDown, it works perfectly for me.

2. It's faster to use filesystem than tcp loopback on Windows. (save
request file, wait for rersponse file eg. 65453425.in , 65453425.out)


> I try to use sockets under windows, but I encounter some difficulties and i
> didn't fount what is my error :(
> When I start the program, the socket is well created and he accept his first
> connection and send back what I want from him. But, when the second
> connection come, the accept is not done. And if i try to open another
> connection during this lock, I have a runtime 216 error...
> You can find the source of my test program attached to this mail.
> I try to use the mod_lisp apache module in this example. Don't take panic
> with is name. It is just a text protocol to transfer CGI informations thru a
> socket and not by the command line (Faster CGI with a server constantly
> running :))
> Thierry Cabuzel

E-mail zdarma na cely zivot: http://email.seznam.cz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ModLisp.pp
Type: application/octet-stream
Size: 1961 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20011017/35e0cef1/attachment.obj>

More information about the fpc-pascal mailing list