cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: simple.c doesn't work...

From: gbstack <gbstack08_at_gmail.com>
Date: Fri, 03 Jul 2009 18:56:51 +0800

Kamil Dudka wrote:
> On Friday 03 July 2009 12:31:11 gbstack wrote:
>
>> Hi,everyone!
>>
>> I just compiled the simple.c(an example code of curl
>> website:http://curl.haxx.se/lxr/source/docs/examples/simple.c),but when
>> I ran it,it didn't work,it didn't display anyting...
>>
>> what should I do to fix it?
>> any suggestion is appreciated.
>>
>
> Try to turn on verbose output:
>
> curl_easy_setopt(curl, CURLOPT_VERBOSE, 1);
>
> Kamil
>
>
>
sorry,I just read the "When It doesn't work" part in the tutorial.
after I set CURLOPT_VERBOSE to 1,it began to give me some details:

* About to connect() to proxy 74.55.139.182 port 3128 (#0)
* Trying 74.55.139.182...

and after several minutes,it didn't change...

Regards,
Todong Ma
Received on 2009-07-03