You could have a look at apps/s_client.c code looking for nbio option.
It seems that there is two way of doing such thing:
- craete nbio BIO and then connect, etc..
- connect (a socket for example) and then set non blocking IO
(with the socket utilities)
hope it could help
From: Perry L. Jones [mailto:[hidden email]]
Sent: Tue 11/22/2005 2:25 PM
To: [hidden email] Cc:
Subject: Non-blocking IO
can some one please point me to an example of non-blocking IO reading
> can some one please point me to an example of non-blocking IO reading
> with openssl.
> OpenSSL Project http://www.openssl.org > User Support Mailing List [hidden email] > Automated List Manager [hidden email]
The source code for the O'Reilly book on OpenSSL is freely downloadable
ora.com <you will have to search for the books title> in it, is an
example on how to use non-blocking ssl and managing the various states of
connection using ssl_read and ssl_write.