Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

core.sys.windows.winsock2

enum int FD_SETSIZE;
Default FD_SETSIZE value. In C/C++, it is redefinable by #define-ing the macro before #include-ing winsock.h. In D, use the FD_CREATE function to allocate a fd_set of an arbitrary size.
pure nothrow fd_set* FD_CREATE(uint capacity);
Creates a new fd_set with the specified capacity.