curl-library
Re: Capture message in buffer when setting up CURLOPT_VERBOSE
From: <man_at_tfhs.net>
Date: Mon, 8 Aug 2005 15:56:40 -0000
Date: Mon, 8 Aug 2005 15:56:40 -0000
On Mon, Aug 8, 2005, Jack Rong <jack.rong_at_cloakware.com> said:
> Hi All,
>
> I have been looking for ways to capture message in the buffer instead of
> letting it print out to the console output when using the the option such
> as,
>
> curl_easy_setopt(curlhandler, CURLOPT_VERBOSE, 1);
>
> Anybody has suggestion?
yeah- CURLOPT_VERBOSE is not what you want.
try reading: http://curl.haxx.se/libcurl/c/curl_easy_setopt.html
the section titled 'CALLBACK OPTIONS'
also look at the examples in the libcurl source.
allan
>
> Thanks.
>
> Jack Rong
>
>
--Received on 2005-08-08