cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How do I correlate two responses

From: Bharani kumar srinivasan <ganeshfriends_at_gmail.com>
Date: Wed, 27 Feb 2008 09:03:31 -0800

cant get what u r saying..
send the code example

On 2/27/08, Michal Marek <mmarek_at_suse.cz> wrote:
> Vijay wrote:
> > Am posting two http request(same URL text), from different threads.
> > Am getting http response but how do I correlate which response is for
> which
> > request.
>
> And you're using the same write callback, right? Then you want to pass
> some context information to the callback by setting CURLOPT_WRITEDATA.
> See http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTWRITEDATA
>
> hth,
> Michal
>

-- 
With regards
B.S.Bharanikumar
SNR Tech
Chennai
Received on 2008-02-27