[fpc-pascal]Nonblocking socket - end of socket

Sebastian Günther sguenther at gmx.de
Wed Sep 17 15:24:55 CEST 2003


Georgi Georgiev schrieb:

> I think that if the socket (or file) is in nonblocking
> mode, 
> count may be -1, and  LinuxError=11 { Err_TryAgain }
> means that connection is OK, but there is no incoming
> data
> (input is not finished).

okay that's right; I assumed that reading or writing is only done after 
select() indicates that data can be read or written.


- Sebastian





More information about the fpc-pascal mailing list