cURL / Mailing Lists / curl-library / Single Mail


Re: async IO using libCURL

From: Frank Mcgeough <>
Date: Tue, 10 Aug 2010 14:14:09 -0400

On Aug 10, 2010, at 1:23 PM, Jogeshwar Karthik Akundi wrote:

> What I wanted to know is, is there an option to use CURL in an
> aynchronous way.
> Write shouldn't block. I give data to write, CURL would give a
> writeComplete_callback later that write is complete.
> Read shouldn't block. I should get a data_callback whenever data is
> received on socket.
> I read up on the multi-handle but I believe it is not the solution I
> am looking for.

I'm not clear on why the multi interface doesn't work for what you are
trying to achieve. I use it in exactly the way you describe. Can you
describe what limitations you are running into in multi interface that
led you to that conclusion?
List admin:
Received on 2010-08-10