cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users list Archives

Re: CURLOPT_WRITEFUNCTION

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sat, 6 Jul 2013 13:54:59 +0200

On Sat, Jul 06, 2013 at 12:05:38PM +0200, alioui ajimi wrote:
> hi i just want to ask about CURLOPT_WRITEFUNCTION set for easy interface in
> multi interface transfer how i can know which data belong to which transfer ??

You can set the userdata pointer to whatever you want it to be with the
CURLOPT_WRITEDATA option; an internal transfer number, the easy handle, the
transfer start time, or whatever is the most convenient way to distinguish
between transfers.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-07-06

These mail archives are generated by hypermail.

donate! Page updated May 06, 2013.
web site info

File upload with ASP.NET