cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: About Response printing through curl

From: Emil Romanus <emil.romanus_at_gmail.com>
Date: Fri, 16 May 2008 17:27:38 +0200

2008/5/14 Ajeet kumar.S <ajeetkumar.s_at_jasmin-infotech.com>:
>
> Actually I don't want to print response. I want to print if any thing
> require by myself using printf. Here I did not use write call to receive
> response.
>
> Please give me suggestion on this issue (to resolve printing issue).
>

Provide libcurl a write callback, and do nothing but return
nmemb*size if you want to discard the data. See the documentation.

Emil
Received on 2008-05-16