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