curl-library
Re: question about curl_multi_socket
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 8 Jan 2006 23:34:24 +0100 (CET)
Date: Sun, 8 Jan 2006 23:34:24 +0100 (CET)
On Sat, 7 Jan 2006, Sun Yi-Ming wrote:
> yes, perhaps that's an elegant way. then, we use curl_multi_setopt to set
> callbacks to inform the outter application to update descriptors, and use
> curl_multi_socket and curl_multi_socket_all to inform libcurl to perform!
> that's good.
Right! I'll take this approach. I also came to think of another flaw in how my
code detects socket state changes or not, and I need to fix that.
I already have the code fixed for the curl_multi_setopt() etc, I'll just jot
down some docs too before I provide an updated patch.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-01-08