On Tue, Feb 22, 2011 at 02:13:11PM +0530, chirayu joshi wrote:
> If  i sent the request to webserver from client and i want to check
> whether the webserver is working or not. Then CURLOPT_TIMEOUT and
> CURLOPT_CONNECTTIMEOUT does not have any significance so as to check
> whether webserver is working or not and if this is the case then which
> is the method that will help me out to check whether webserver is
> working or not.

curl_easy_perform() returns an error code relating to the success of
the transfer. That code will indicate whether or not a timeout was hit.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to