[fpc-pascal]Sockets

Peter H.M. Brooks peter at new.co.za
Sun Aug 18 11:19:28 CEST 2002


This gets even more puzzling.

I get a -1 back from the socket connection (the socket creation works), but a 0 from SocketError - suggesting that it worked!

Then, the program does a receive and, using netstat, I can see that it is connected to a port.

Why the error? Is this a bug?

Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20020818/5932771c/attachment.html>


More information about the fpc-pascal mailing list