| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re[6]: Working with curl connections as with sockets.
From: Tetetest <tetetest_at_rambler.ru>
Date: Sun, 4 May 2008 22:41:50 +0400
Hello Nathan,
Sunday, May 4, 2008, 6:21:48 PM, you wrote:
>> typedef enum {
NEM> The other libcurl functions where a timeout is used take a long with time
Ok, I do not insist at all - this was an example of a possible
NEM> What if I want to wait on more than one socket?,
You can collect the sockets with CURLIFO_LASTSOCKET and wait on them
long timeout = global_timeout / number_of_handles;
My proposal is to add an easy-to-use, cross-platform, single-handle
If your application requires something beyond this functionality, then
NEM> or use a g_io_channel to tell me when I can write?
I am not familiar with g_io_channel, but I assume it accepts sockets -
-- Best regards, Tetetest mailto:tetetest_at_rambler.ruReceived on 2008-05-04 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info