| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: question about curl_multi_socket
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 6 Jan 2006 20:21:47 +0100 (CET)
On Fri, 6 Jan 2006, Sun Yi-Ming wrote:
> the curl_socket_callback mechanism is what exactly users need, depend on
That is certainly the general idea!
> but in applications, users always add, remove, or just reload a easy handle,
Ah, what an excellent question! This is certainly a flaw in how the API
> or there must be container to list all the new added,removed,reloaded easy
Hm. I *think* we can solve the problem like this:
1 - We set the socket callback with a new curl_multi_setopt() function (in
2 - When an app removes an easy handle from a multi handle and thus the
What do you say about that approach?
And thanks a lot for reviewing and sharing your thoughts on the API with us!
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-01-06 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info