Skip to content

Increase FD_SETSIZE #153

@TankOs

Description

@TankOs

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions