On Thu, May 27, 2010 at 9:46 AM, Erik Faye-Lund
[off-list ref] wrote:
On Thu, May 27, 2010 at 3:29 PM, Marko Kreen [off-list ref] wrote:
[...]
quoted
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. =)
quoted
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