Hi,

I'm using OpenSSL in non-blocking mode and I can't find documentation
anywhere to clear up some questions I have.  Basically, I'm only concerned
with SSL_connect, SSL_accept, SSL_read and SSL_write.  Apparently, when the
underlying socket is in non-blocking mode, these functions can/may/tend to
behave in a non-blocking way also.  What I'd like to know is, how can I tell
when these functions are completed without using a callback of some sort?
With plain old sockets, you can use select() to tell when connect() and
accept() have completed successfully.  Similarly, with read() and write()
it's possible to know when data is available/being sent or if the function
would block and to try again.  Can anyone describe the behavior of their
OpenSSL-counterparts when the socket is non-blocking?

    -Sean

---
Celtech Software           Making advanced software easy and fun to use
    www.celsoft.com           [EMAIL PROTECTED]
    818-347-2875



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

Reply via email to