cURL / Mailing Lists / curl-library / Single Mail


curl-multi-socket question

From: Pedro Larroy <>
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

"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?

Received on 2007-03-09