> I do still think Ben is trusting select a bit too much; real servers
> that must avoid blocking really do set sockets to nonblocking mode
> just in case.
>
> - Dan
Not only just in case. Real operating systems will block when you don't
expect them to. FreeBSD, for example, can block on a 'write' even after
'select' or 'poll' told you it wouldn't. The 'select' and 'poll'
implementations only check the socket buffers, but FreeBSD can also run low
on 'mbuf's and block in 'write'.
DS
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]
- Doing own nonblocking socket I/O Dan Kegel
- Re: Doing own nonblocking socket I/O Ben Laurie
- Re: Doing own nonblocking socket I/O Dan Kegel
- RE: Doing own nonblocking socket I/O David Schwartz
- Re: Doing own nonblocking socket I/O Ben Laurie
- Re: Doing own nonblocking socket I/O Dan Kegel
- Re: Doing own nonblocking socket I/O Ben Laurie
- Re: Doing own nonblocking socket I/O Dan Kegel
- Re: Doing own nonblocking socket I/O Ben Laurie
- Re: Doing own nonblocking socket I/O Dan Kegel
- Re: Doing own nonblocking socket I/O David Schwartz
- Re: Doing own nonblocking socket I/O Ben Laurie
- Re: Doing own nonblocking socket I/O Bodo Moeller
- Re: Doing own nonblocking socket I/O Ben Laurie
- Re: Doing own nonblocking socket I/O Bodo Moeller
