cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 17 Oct 2011 11:35:25 +0200 (CEST)

On Mon, 17 Oct 2011, ketrio juki wrote:

> Sorry for the top posting Daniel.. so doing something like this can solve
> the problem?

Yes. But your solution busy-loops like crazy and I would never advice anyone
to do that. If you read the man page again I advocate unconditionally
_waiting_ a short while before continuing for this case.

> From time to time i get a receive error? what can cause this error? (failure
> while receiving data).

You need to explain a lot more.

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