stktrc writes:
> block until there is something to read. But read-string/partial (with
> nbytes > 0) on an (TCP) socket inport returns immediately with ""
> (empty string, which I interpret as that no data was read). It should
> have blocked AFAICT.
... except if the inport was set to non-blocking i/o (or the reader
encountered eof). The inport state can be checked with
(bitwise-and open/non-blocking (fdes-status inport)))
rthappe
______________________________________________________________________________
UNICEF bittet um Spenden fur die Kinder im Irak! Hier online an
UNICEF spenden: https://spenden.web.de/unicef/special/?mc=021101
|