cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Contextual parameter for callback functions?

From: Evan Gates <vershun_at_gmail.com>
Date: Mon, 9 Apr 2007 12:58:42 -0600

First off I'd like to say cURL is pretty wonderful and I've used it
for a variety of tasks, thanks for the good work!

I'm using cURL's C function

curl_easy_setopt(curlhand, CURLOPT_WRITEFUNCTION, parse_data);

to take the webpage data and parse through it. My problem is I have
many threads using parse_data as the callback function but no real way
to tell the actual URL of the data it's getting. Is there anyway to
access the URL that I'm getting the data for in the callback function?
Received on 2007-04-09

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET