cURL / Mailing Lists / curl-library / Single Mail


Re: Controlling I/O on socket

From: Dan Fandrich <>
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 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

--              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-04-23