hi. all..
i am writing some app with libcurl
unfortunately, i am not a good programmer.
i have stopped because of small problem.
here are my partial source codes.
i want to header and body text not to be printed out.
help me..
size_t receiveData(void *ptr, size_t size, size_t nmemb, void *stream)
{
// do something.
return size;
}
curl_easy_setopt(hCurl, CURLOPT_HEADERFUNCTION, receiveData);
curl_easy_setopt(hCurl, CURLOPT_WRITEFUNCTION, receiveData);
curl_easy_setopt(hCurl, CURLOPT_WRITEHEADER, stdout);
curl_easy_setopt(hCurl, CURLOPT_WRITEDATA, stdout);
thanks in advance..
_______________________________________________
cURLpp mailing list
[email protected]
http://www.rrette.com/mailman/listinfo/curlpp