From: Tanaka Akira Date: 2005-07-18T12:20:51+09:00 Subject: Re: Nonblocking Sockets In article <1121623796.10446.95.camel@localhost.localdomain>, "Zed A. Shaw" writes: > * Select does have a problem with getting the read response right, which > means you almost always need to set the socket to non-blocking, but also > select only indicates that you *can* read/write, not how much. So, if > you need to read/write 1024 bytes, but the OS buffers only allow for 512 > at that moment, then your call will block. Finding out how much you can read 1024bytes doesn't block when OS has 512bytes. -- Tanaka Akira