cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 16 Oct 2011 23:58:31 +0200 (CEST)

On Sun, 16 Oct 2011, ketrio juki wrote:

> So  what i should do? check the value of maxFd to be different than -1 to
> call select(maxfd...)? so if any socket is ready i should
> curl_multi_perform() ?

1. Read http://curl.haxx.se/mail/etiquette.html#Do_Not_Top_Post I really
dislike top-posts here.

2. Read my just extended and clarified man page for curl_multi_fdset() that
addresses the the max_fd == -1 issue a bit more:
   http://curl.haxx.se/libcurl/c/curl_multi_fdset.html

If that still doesn't answer your questions, please ask!

-- 
  / 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-16