cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Fwd: Re: Close callback

From: Ingo Krabbe <ikrabbe.ask_at_web.de>
Date: Thu, 6 Mar 2008 14:29:34 +0100

Am Donnerstag, 6. März 2008 13:29:49 schrieb Daniel Stenberg:
> On Thu, 6 Mar 2008, Ingo Krabbe wrote:
> > With the current state of the library, as I know it, I have to provide a
> > mapping
> >
> > [fd,type] ---> QSocketNotifier (type is read,write or exception)
>
> This description sounds like you want an event-based action, so then you're
> just not using the correct API for this purpose. Try curl_multi_socket():
>
> http://curl.haxx.se/libcurl/c/curl_multi_socket.html
>
> Does this cover what you want?

I think this might work. I need to try this. This might reduce my code by
about 200 lines.
Received on 2008-03-06