curl-library
Re: multi session interface
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 19 Dec 2002 14:25:28 +0100 (MET)
Date: Thu, 19 Dec 2002 14:25:28 +0100 (MET)
On Thu, 19 Dec 2002, [ISO-8859-2] Petr J?za wrote:
> I know that libcurl provides a multi session interface but I have to add
> (curl_multi_add_handle) easy handles firstly and then execute
> (curl_multi_perform) them (I don't know still much about libcurl, so maybe
> it is only misunderstanding).
That's usually how you start a transfer using the multi interface, yes.
> The problem is that I have to wait for all requests and then I can execute
> them - better for me would be if I could only add my request and don't
> beware of executing it. Or can I add easy handle during curl_multi_perform?
You can add handles after curl_multi_perform() was called, and they should be
taken care of accordingly and work just as you describe.
-- Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs. ------------------------------------------------------- This SF.NET email is sponsored by: Geek Gift Procrastinating? Get the perfect geek gift now! Before the Holidays pass you by. T H I N K G E E K . C O M http://www.thinkgeek.com/sf/Received on 2002-12-19