On 9/30/2010 11:39 PM, Raj wrote:

Can you please let me know how can I set time out as a whole. I think
you are mentioning about SSL_CTX_Set_timeout function. If it is so then
I have set the time out using this function, and sadly I didn't get the
expected result.

There are a lot of ways. The most common is 'alarm'. Your platform may also have a particular way of timing out TCP connections such as through a 'setsockopt'. This is an ugly method and, IMO, is only appropriate in a program that needs to terminate if the connection is lost.

DS

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to