curl-library
curl-multi-socket question
From: Pedro Larroy <pedro.larroy.lists_at_gmail.com>
Date: Fri, 9 Mar 2007 23:01:49 +0100
Date: Fri, 9 Mar 2007 23:01:49 +0100
After observing that resolution failures don't make the socket to get
an event out of the multiplexer, I noticed that the documentation
says:
"Applications should call curl_multi_timeout(3) to figure out how long
to wait for socket actions - at most - before doing the timeout
action: call the curl_multi_socket(3) function with the sockfd
argument set to CURL_SOCKET_TIMEOUT."
Does this mean one need to setup a timer system to handle and dispatch
those timeouts?
Why not generate an event, so you know something has happened to the fd?
Regards
Received on 2007-03-09