On Tue, Nov 16, 2010 at 10:35 AM, Pieter Hintjens <p...@imatix.com> wrote:
> * #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) Sorry, I'm not being clear. You need to define FD_SETSIZE _before_ including winsock.h/winsock2.h. This constant defines the size of the fd_set type used for all calls to select() and the FD_CLR/FD_SET/etc. macros in a specific source file. The simplest is to define this externally, in the MSVC project file, as a macro definition that gets passed to all source files regardless. -Pieter _______________________________________________ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev