[zeromq-dev] Assertion failed: fds.size() <= FD_SETSIZE in select.cpp:67

Pieter Hintjens ph at imatix.com
Tue Nov 16 10:35:59 CET 2010

On Tue, Nov 16, 2010 at 10:27 AM, Олег Севостьянов <oleg.sev at gmail.com> wrote:

> I try to change select.cpp - remove FD_SETSIZE and set 1024 as const,
> and then run my test.

You can either:

* #define FD_SETSIZE 1024 in the 4 places that 0MQ includes
"winsock.h" or "winsock2.h" (zmq.h, select.cpp, select.hpp,
windows.hpp afair)
* -DFD_SETSIZE=1024 in the project


More information about the zeromq-dev mailing list