cURL / Mailing Lists / curl-library / Single Mail

curl-library

question about curl_multi_socket

From: Sun Yi-Ming <yimings_at_cgogo.com>
Date: Fri, 6 Jan 2006 17:19:39 +0800

hi,
  after several hours experience in the new cool feature
curl_multi_socket, i have a question.
  the curl_socket_callback mechanism is what exactly users need, depend
on this routine, users have a fine control on all their descriptors.
but in applications, users always add, remove, or just reload a easy
handle, on that condition, does the users must always call
curl_multi_socket_all to renew their descriptor tables? or there must be
container to list all the new added,removed,reloaded easy handles? so,
even when call curl_multi_socket, these events (add/remove/reload) will
be signaled. oh, perhaps that's urgly.

Thank you for your great job on libcurl!

-- 
Sun Yi Ming
Programs must be written for people to read, 
and only incidentally for machines to execute.
                                    ---- SCIP
Received on 2006-01-06