curl-library
Re: how to keep this work after calling select failed(Bad file descriptor)
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 12 Oct 2013 22:28:09 +0200 (CEST)
Date: Sat, 12 Oct 2013 22:28:09 +0200 (CEST)
On Fri, 11 Oct 2013, $BA=>M0B(J wrote:
> I have read this(http://curl.haxx.se/libcurl/c/multi-single.html) and
> carefully, but I still don't understand how to keep multi interface work
> again without recreate it when select call failed.
Why does the select call fail? I can't see any reasonable explanation for
that.
And even if it does, there's really no reason to exit because of that - you
can just loop and try with *fdset() and select() again.
-- / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-10-12