>    Same thing, no guarantee about what an actual future operation will 
do. By
> "would not block", they mean a hypothetical operation taking place at 
the
> time the indication is given to you.

No.  That's stupid.  It's useless.  By 'would not block' they mean 'if 
nobody else messes with the descriptor, the operation would not block.'

Your meaning means that select is absolutely *useless* to a programmer 
unless the socket is set to non-blocking mode; there is no mention in the 
select manpage that the socket must be in non-blocking mode.  Further, 
since a non-blocking selectd can return EWOULDBLOCK for any operation, 
select on non-blocking becomes nothing more than an optimization hint to 
avoid a read system call.

        /r$

--
SOA Appliances
Application Integration Middleware

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to