in reply to Re^6: How to make sysread timeout
in thread How to make sysread timeout
Again, if a (blocking) socket has received some data before the timeout, but not enough to satisfy the number specified on the sysread, can_read() will have returned true, but will sysread block or not?I'd have thought that it's obvious that sysread blocks if there's no data, but otherwise returns the number of bytes actually read.
Those Win32 issues sound nasty. I have three questions:
-David
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: How to make sysread timeout
by BrowserUk (Patriarch) on Nov 02, 2007 at 16:57 UTC |