cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: multi-app example not working

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 15 Nov 2010 19:34:14 +0100 (CET)

On Sun, 14 Nov 2010, Miles Benson wrote:

> I built libcurl 7.21.2 (32 bit, windows, statically linked, debug) to try
> the curl_multi* API using multi-app.c, but it loops forever because
>
> rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
>
> keeps returning 0.

Is maxfd returning anything but -1 during the period you checked it? AFAIK,
people are using the multi API just fine on Windows...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-11-15