Actually you can make SSL_accept non block by using non blocking sockets and using
SSL_do_handshake. First You need to set state in SSL structure as accept state with
SSL_set_accept_state
sarma
[EMAIL PROTECTED] wrote:
> SSL_accept will block the programm to wait the client to do SSL_connect. Since
>SSL_accept and SSL_connect will do many recv and send on the socket, it is impossible
>to use select to add a timeout.
> Is there any other method to add a timeout?
>
> zhang
> -------------------------------------
> ��ӭʹ�ñ����籨�ֵ���ѵ����ʼ�ϵͳ!
> http://btamail.net.cn or http://mail.bta.net.cn
> �ͷ����ĵ绰��223 ����ѣ�
> ��ӭ��169����,�绰:169,�û���:169,����:169.
>
> ______________________________________________________________________
> OpenSSL Project http://www.openssl.org
> Development Mailing List [EMAIL PROTECTED]
> Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]