cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

curl-multi-socket question

From: Pedro Larroy <pedro.larroy.lists_at_gmail.com>
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

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET