cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: multi interface

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 24 Sep 2004 17:50:00 +0200 (CEST)

On Fri, 24 Sep 2004, Andy hobbs wrote:

> while (curl_multi_perform(multiHandle, stillRunning) ==
> CURLM_CALL_MULTI_PERFORM)
> {
> // Request still sending
> }
>
> The request will have been sent when this first stops looping
> run the loop again to receive the response

Actually, you can't be sure that the request has been sent at this point.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-09-24