Dan Kegel wrote:
> 
> Ben Laurie wrote:
> > That is simply not true. The state machine sample would not work AT ALL
> > if that were the case. But like I say, go ahead, make them non-blocking.
> > Suits me.
> 
> ? You're saying that, simply because select() said a file was readable,
> that you can read 1024 bytes from it without blocking.

No, I'm saying that read will do a short read on a socket if it can't
fill the buffer.

Cheers,

Ben.

--
http://www.apache-ssl.org/ben.html

"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit."

Robert Woodruff
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to