Marek Marcola wrote:
You may try:
- set socket fd to non-blocking,
- use SSL_accept()+select() for timeout
- set socket fd to blocking back
When you say "use SSL_accept()+select()" what exactly do you mean by that ?
I can test the socket with select() if there is data ready to be
received (but not how much), and then call SSL_accept(). But until the
data exchange for the handshake hasn't completed yet, the SSL_accept()
call won't return.
--
Cheers, Thomas.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]