cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: ketrio juki <ketriop_at_yahoo.it>
Date: Sun, 16 Oct 2011 11:09:42 +0100 (BST)

Thank you for the answer. When select retuns -1, the value of maxFd is -1 and if i printstrerror(errno), what i get is "error: No error" Any ideas? ________________________________ Da: Ben Greear <greearb@candelatech.com> A: ketrio juki <ketriop@yahoo.it>; libcurl development <curl-library@cool.haxx.se> Inviato: Sabato 15 Ottobre 2011 22:11 Oggetto: Re: Error in select().. returns -1 On 10/15/2011 10:50 AM, ketrio juki wrote: > Hi, > 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) > > I exeperience this error in all you multi examples (multi-post.c, multi-simple.c...) > Why this error happens? Any suggestion? What can i do to solve this error? > Thank you. Print out the error:  printf("error: %s\n", strerror(errno)); Thanks, Ben > > Matt > > > > > ------------------------------------------------------------------- > List admin: http://cool.haxx.se/list/listinfo/curl-library > Etiquette:  http://curl.haxx.se/mail/etiquette.html -- Ben Greear <greearb@candelatech.com> Candela Technologies Inc  http://www.candelatech.com

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