-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Milestone
Description
On Windows, FD_SETSIZE (the maximum number of allowed entries in the fd_set structure) is limited to 64 which is quite low. So when doing a select() with more than 64 you run into trouble.
One could either create groups with FD_SETSIZE entries and call select() multiple times or increase FD_SETSIZE by defining the macro before Winsock2.h is included.
On Linux the default is 1024.
More info: http://msdn.microsoft.com/en-us/library/windows/desktop/ms740141(v=vs.85).aspx