cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Socket callback not firing

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 20 Oct 2009 14:13:46 +0200 (CEST)

On Mon, 19 Oct 2009, Steve Ellis wrote:

It seems you never run the libevent dispatcher function, so thus it never
checks or acts on any socket events. Compare with how the hiperfifo.c example
calls event_dispatch(). I would assume you could make it work like this:

   new_conn("http://www.yahoo.com", &g);

+ event_dispatch();

   curl_multi_cleanup(g.multi);

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-10-20