cURL / Mailing Lists / curl-library / Single Mail

curl-library

CURLE_OPERATION_TIMEDOUT (vs) CURLE_COULDNT_CONNECT

From: Praveen Pvs <meetpraveenpvs_at_gmail.com>
Date: Wed, 25 May 2016 13:06:29 +0530

Hi,

Can someone help me to understand under what scenirios/suitations we get
following error codes:

CURLE_COULDNT_CONNECT
CURLE_OPERATION_TIMEDOUT

Do they mean same?

My understanding is -

When we are not able to connect to server and timed out while trying to
connect to server we get CURLE_COULDNT_CONNECT

When we are able to connect to host but got timed out while waiting for the
response we get CURLE_OPERATION_TIMEDOUT

Is this correct?

Thank your help

Regards
Praveen

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-05-25