curl-and-php
multi interface
Date: Mon, 18 Mar 2002 20:12:27 -0500
Thanks Daniel!
I guess the multi interface is about to become better tested! 8)
I am at http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/curl/curl/docs/ right
now looking for the documentation!
Can you tell I'm psyched? (I didn't want to have to rewrite many of curl's
features.)
-J.
-----Original Message-----
From: curl-and-php-admin_at_lists.sourceforge.net
[mailto:curl-and-php-admin_at_lists.sourceforge.net]On Behalf Of Daniel
Stenberg
Sent: Monday, March 18, 2002 8:27 AM
To: theexperts_at_allprodirect.com
Cc: curl and php
Subject: Re: multiple simultaneous transfers
<excerpt>
libcurl supports multiple concurrent transfers in two ways:
1. Run multiple threads, one curl handle and curl_easy_perform() in each
thread.
2. Use the multi interace, add all transfers to the multi handle and have
them transfered simultaneously using a single thread.
Approach 1 has been tried numerous times and is very well tried. Approach 2
is much less tested, but a generally nicer way to do this. It is also much
more portable.
The docs for the multi interface is still only present in CVS, due to appear
as web pages any day now...
</excerpt>
Received on 2002-03-19