> Thanks you both... after correcting my BIO_do_connect (and all
> read/write following it) -> adding retries (as Girish pointed), it
> works just fine.
> Now I'll check the errors, mentioned by Darryl, to make it more clear,
> not just to retry until some counter runs out.

        Don't do that. Retry until it succeeds or fails.

        You need to check the error code. If it has really failed, there's no 
point in waiting and retrying. And if it's still trying to connect, there's no 
reason to consider it an error just because some particular amount of time has 
passed.

        DS


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to