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

Pieter Hintjens ph at imatix.com
Thu Nov 4 16:16:49 CET 2010

On Thu, Nov 4, 2010 at 4:05 PM, Martin Lucina <mato at kotelna.sk> wrote:

> Ultimately this change is essentially cosmetics since any Windows network
> programmer should know that they will need to externally define FD_SETSIZE
> to a larger value for their application if they wish to use more than a few
> connections. We can have a FAQ entry for this.

In the end it's all cosmetics.  Of course, why bother making stuff
that "just works" when you can make a FAQ entry explaining why it

Also, setting rules like "you may not set FD_SETSIZE in zmq.h but I
insist on the right to include winsock2.h in zmq.h (which sets
FD_SETSIZE)" are meant to do what, exactly?

I'd really rather that the default Windows build worked sensibly, and
we do actually know what that means in this case.


More information about the zeromq-dev mailing list