[zeromq-dev] [PATCH] FD_SETSIZE increased for win32

Pieter Hintjens ph at imatix.com
Thu Nov 4 12:35:38 CET 2010


2010/11/4 Mikael Helbo Kjær <mhk at designtech.dk>:

> Please do it like this instead
>
> +#ifndef FD_SETSIZE
> +#  define FD_SETSIZE 1024
> +#endif

Indeed, as per my patch, you should set this only if it's not been set
explicitly from the outside. That lets people override the 1024 value
with more useful values for real servers (1024 is _not_ enough for
large cases).

-Pieter



More information about the zeromq-dev mailing list