[fpc-pascal] Socket pair

Santiago A. svaa at ciberpiula.net
Mon Oct 3 10:27:55 CEST 2016

I've seen that "accept" functions with socket pairs are deprecated. And
fpsocketpair returns always -1.

How do you get the in and out streams when a server  accepts a new
client connection? I have seen some server examples, like isocksrv.pp,
but only read from client and send nothing back to client.

can anyone point and example with pair of sockets or bidirectional
connection communication?

Santiago A.

More information about the fpc-pascal mailing list