curl-library
Re: Controlling I/O on socket
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 22 Apr 2008 22:52:08 -0700
Date: Tue, 22 Apr 2008 22:52:08 -0700
On Wed, Apr 23, 2008 at 10:57:40AM +0530, vaibhav bindroo wrote:
> I am using libcurl client library as a part of my application for HTTP transfer
> . I have got a main dispatcher loop running in ma app ..so instead of using
> existing easy_curl_perform() function which uses inbuilt select () to check for
> I/0 on fds , I want to take control of I/O through my select loop and perform
> read or write operation (GET /POST ) accordingly . I dont want the
> exisintg code to block my dispatcher loop . What is the best solution around
> ..Kindly reply ..this is urgent !!
Use the multi interface and curl_multi_socket.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2008-04-23