Return Receipt Notification --------------------------- Set your scocket in non blocking mode. Then your BIO_write will return always immediately and - if it return a value <=0 and - should_retry is false, you know that a critical error has occured like a closure of the connection. - should_rety is true, then you have to ... retry. The best way is then to perform a select instead of a polling. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]