[fpc-pascal] Socket pair
Rainer Stratmann
rainerstratmann at t-online.de
Mon Oct 3 12:46:38 CEST 2016
There is fpaccept
http://www.freepascal.org/docs-html/rtl/sockets/fpaccept.html
But in the example accept is used ... (?!)
Am Montag, 3. Oktober 2016, 10:27:55 schrieb Santiago A.:
> 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?
>
>
> --
> Saludos
> Santiago A.
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
More information about the fpc-pascal
mailing list