Would it make sense to add a check to some / all of the options that need to be set before calling bind() / connect(), so that they would fail if they are called after?
Gonzalo Diethelm ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Ian Barber Sent: Thursday, 28 July, 2011 04:12 To: ZeroMQ development list Subject: Re: [zeromq-dev] Problem with durapub2 example On Thu, Jul 28, 2011 at 2:57 AM, Tonis Xie <[email protected]<mailto:[email protected]>> wrote: When I set HWM before the bind() call, it works! So, either make it work after the bind() call or modify the ZGUIDE example. Yep, that's the issue, HWM needs to be set before hand as you found. Looks like it is set beforehand in the current guide, so you may have an older example from before that was fixed unfortunately! Ah well, it's a good way to learn the library :) Ian
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
