[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.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4