cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re:Re:Re: about CURLE_COULDNT_CONNECT

From: 兰天 <lantian0811_at_163.com>
Date: Fri, 3 Apr 2015 00:12:47 +0800 (CST)

在 2015-04-02 23:38:44,"Daniel Stenberg" <daniel_at_haxx.se> 写道:
>On Thu, 2 Apr 2015, 兰天 wrote:
>
>> I use curl_easy_setopt(CURLOPT_VERBOSE,1L);
>> and get some information ,for example:
>> getaddrinfo(3) failed for ------> I think this is error code 6
>>
>> * About to connect() to xxxxx port 80 (#210) ------> I think this is error code 7
>> * couldn't connect to host
>
>Is this a slightly older libcurl version? I can't find that output string
>anymore.
>
>And no, it is not the error code but it shows how libcurl fails to connect
>(even which host and port number). Just as the return code says.
>
I use curllib 7.39 . error code 7 is related to this ?
> / daniel.haxx.se

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-04-02