Erik Aronesty <[EMAIL PROTECTED]>:
> I have an app working very well... *except* i now want (need?) to
> accurately determine if it's "ok to write" (will not block) or "ok to
> read". Without SSL, I could do this with a select().. however a
> select() is clearly not correct when using SSL.
Set the sockets to non-blocking mode. Then you can just attempt the
I/O operation you want to perform; if it does not complete, you can
use SSL_get_error() to find what you should select() for before trying
again. See the SSL_get_error() man page at www.openssl.org/docs.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]