Re: curl multi interface, every time added a new easy handle, need call curl_multi_perform to get socket descriptors?
Date: Thu, 2 Apr 2009 14:34:24 +0800
well, you know, english is changing rapidly these days.
Is it true that, every time after I added an easy handle to the multi
stack, I need to call the curl_multi_socket_all function to update the
socket status? or, I cannot get the SOCKETFUNCTION callback.
Is there a way to only perform socket actions on those new added easy handles?
2009/4/1 Daniel Stenberg <daniel_at_haxx.se>:
> On Tue, 31 Mar 2009, Sun Yi-Ming wrote:
>> curl_mult_setopt ( socket callback )
>> get socket
>> curl_multi_perform again
>> get socket again
>> 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
-- Sincerely, 孙一鸣 Simon Sun -- Be a man with simple interface.Received on 2009-04-02