[fpc-pascal] Socket pair

Michael Van Canneyt michael at freepascal.org
Mon Oct 3 13:52:56 CEST 2016




On Mon, 3 Oct 2016, Rainer Stratmann wrote:

> There is fpaccept
>
> http://www.freepascal.org/docs-html/rtl/sockets/fpaccept.html
>
> But in the example accept is used ... (?!)

Can you please report this in the bugtracker so I do not forget to correct
this ?

Michael.
>
>
> 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
>
> _______________________________________________
> 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