cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Error in select().. returns -1

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 15 Oct 2011 22:14:04 +0200 (CEST)

On Sat, 15 Oct 2011, ketrio juki wrote:

> i'm running libcurl tutorial examples about multi interface but often i get
> -1 as return code from
>
> int rc = select(maxfd+1, &fread, &fwrite, &fexcep, &timeout)

In these situations, what does maxfd contain?

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