On Thu, May 27, 2010 at 9:46 AM, Erik Faye-Lund <kusmabite@xxxxxxxxxxxxxx> wrote: > On Thu, May 27, 2010 at 3:29 PM, Marko Kreen <markokr@xxxxxxxxx> wrote: [...] >> Well, per your own FD_SET example, the FD_SETSIZE on windows >> means different thing than FD_SETSIZE on old-style bitmap-based >> select() implementation. Yes, it sure does. Once again, Windows seems to be a special, unique snowflake. =) >> On Unix, it's max fd number + 1, on windows it's max count. >> > > Are you sure this applies for all Unix, not just some given Unix-y system? While I can't make statements about "all UNIX" since there are many obscure flavors, this is true on Linux, Solaris and various BSD derivatives. It's also what's specified by POSIX: http://www.opengroup.org/onlinepubs/000095399/functions/select.html --bert -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html