El 30/10/2017 a las 15:40, Victor Campillo escribió:

You have the function "FpIOCtl" with the option FIONREAD, I use it to read the amount of data of the reception buffer before call "fprecv" but if I remember correctly this only work when you configure the socket as asynchronous.

Hello,

fpioctl seems to not be implemented in Windows, but anyway your help give me a clue about a possible solution to my problem. Thank you.


--

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to