Daniel Stenberg wrote:
On Tue, 8 Jul 2014, Federico Vitali wrote:

Ok perhaps I've understood, I apologize for my request. It the select
function itself that unsets filedescriptors... Is it correct?

Please don't top-post and I'm not convinced this is the best place to ask
about how select() works. But yes, select() will set only the file
descriptors that had any activity.

But shouldn't one zero and rebuild the fdsets anyway prior to each select() call? One needs to reestablish fds one is still interested in and ones that were returned as active by select() may no longer be so.

- Rich
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to