Boost max connections to 8000
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
#ifdef FD_SETSIZE
|
#ifdef FD_SETSIZE
|
||||||
#undef FD_SETSIZE // prevent redefinition compiler warning
|
#undef FD_SETSIZE // prevent redefinition compiler warning
|
||||||
#endif
|
#endif
|
||||||
#define FD_SETSIZE 1024 // max number of fds in fd_set
|
#define FD_SETSIZE (8*1024) // max number of fds in fd_set
|
||||||
|
|
||||||
#include <winsock2.h> // Must be included before mswsock.h and windows.h
|
#include <winsock2.h> // Must be included before mswsock.h and windows.h
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user