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

RE: CURLMOPT_TIMERFUNCTION not called when last timer cancelled

From: David Lasker <dave_at_altosdesign.com>
Date: Mon, 23 Jun 2008 15:59:36 -0700

On Mon, 23 Jun 2008, Daniel Stenberg wrote:
> You use curl_multi_socket() with select() ?

Yes I do.

My application reads N records from an database and then performs N HTTP
posts in parallel using curl_multi_socket_action. Since the only sockets
involved are those used for HTTP, I didn't see any point in using libevent,
so I do my own select. I use CURLMOPT_SOCKETFUNCTION to tell my select which
FD's to look for.

Is there a better way to implement this?

Thanks for answering my other dumb questions!

Dave
Received on 2008-06-24

These mail archives are generated by hypermail.

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

File upload with ASP.NET