Allow select()ing up to 1024 file descriptors on Windows
This commit is contained in:
parent
77a1e12eed
commit
33912d1f23
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
#define FD_SETSIZE 1024 // max number of fds in fd_set
|
||||
#include <winsock2.h>
|
||||
#include <mswsock.h>
|
||||
#include <ws2tcpip.h>
|
||||
|
|
Loading…
Reference in a new issue