On Sun, 2009-02-08 at 01:59 +0530, Chaitanya Gupta wrote:
Stelian Ionescu wrote:
That's correct. Thanks for the notice, I've just pushed a fix ;)
Cool! Thanks for the quick fix. I wanted to point out that even READ-SEQUENCE had similar problems, but that too seems to have been fixed i.e. READ-SEQUENCE now correctly waits till the required amount of data has been sent by the client.
On that note, does iolib provide any function to read a chunk of data without blocking i.e. something like READ-CHAR-NO-HANG for sequences? (or, something akin to what read(2) provides when O_NONBLOCK is set).
No. The current iolib streams are gray-streams therefore are blocking(because CL streams are designed that way). The other stream layer I'm working on(zeta-streams) should provide that, but it's not finished yet.