cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl multi interface, every time added a new easy handle, need call curl_multi_perform to get socket descriptors?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 1 Apr 2009 09:45:47 +0200 (CEST)

On Tue, 31 Mar 2009, Sun Yi-Ming wrote:

> curl_multi_init
>
> curl_mult_setopt ( socket callback )
> curl_multi_add_handle
> curl_multi_perform
> get socket
> poll
>
> ...
> curl_multi_add_handle
> curl_multi_perform again
> get socket again
> poll
> ...
>
> it is somewhat urgly, IMHO.

I'm sorry but I don't understand what you're trying to say, or if there's a
question in there I didn't spot it. Can you try to ask the question in a
manner that is loud and clear to an old and grumpy man such as me?

-- 
  / daniel.haxx.se
Received on 2009-04-01