Re: simple.c doesn't work...
Date: Fri, 03 Jul 2009 18:56:51 +0800
Kamil Dudka wrote:
> On Friday 03 July 2009 12:31:11 gbstack wrote:
>> 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);
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 22.214.171.124 port 3128 (#0)
* Trying 126.96.36.199...
and after several minutes,it didn't change...
Received on 2009-07-03