[Martin v. Löwis] >>> So FD_SETSIZE is 64 on Windows, [Tim Peters] >> In Python FD_SETSIZE is 512 on Windows (see the top of selectmodule.c).
[Scott Dial] > Although I agree, in terms of the socketmodule, there was no such define > overriding the default FD_SETSIZE, so you are both right. ? Sorrry, don't know what you're talking about here. Python's selectmodule.c #defines FD_SETSIZE before it includes winsock.h on Windows, so Microsoft's default is irrelevant to Python. The reason selectmodule.c uses "!defined(FD_SETSIZE)" in its #if defined(MS_WINDOWS) && !defined(FD_SETSIZE) #define FD_SETSIZE 512 #endif is explained in the comment right before that code. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com