On Tue, Aug 7, 2012 at 4:28 PM, Dave Rutlidge <[email protected]> wrote:

> Thanks for that. I set the HWM at 10 for all the sockets. When I ran it I
> still got the assertion failure after a short time (couple of seconds, if
> that):
>
> Assertion failed: fds.size () <= FD_SETSIZE (..\..\..\src\select.cpp:69)

Sounds like you changed this in the wrong place or in a single source
file. There is in the MSVC project a definition for FD_SETSIZE; set
this to 1024 or more, and rebuild everything (and remove your
hand-made change).

> I changed the code to add a number to the "Hello" message. I got the
> assertion after about 1027 messages sent.

It's a matter of how many sockets you have open, not messages you send.

-Pieter
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to