I am not WinSock programmer, I just give you my suppose opinion, and may be it's wrong, just an advice: for WSAEventSelect( m_iSocketID, m_hSocketEvent, FD_READ|FD_CLOSE); you need add an write enent select(FD_WRITE I guess),for the write enent, it needs only do the same thing as read event.The reason is when you do SSL_read,there may be variout socket read and socket write,the same is SSL_write,and othere SSL_*(accept,connect etc). ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]