On 10/03/2016 03:27 AM, Santiago A. wrote:
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?
Thanks for reminding me about a socket (and serial) echo example that I
wrote for a work project six months ago. I'll try to release it here in
the next day or two:
http://ctrlterm.com/custom.htm
Regards,
Paul
www.ControlPascal.com
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal