[zeromq-dev] Problem with durapub2 example
gonzalo diethelm
gdiethelm at dcv.cl
Thu Jul 28 14:47:38 CEST 2011
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: zeromq-dev-bounces at lists.zeromq.org [mailto:zeromq-dev-bounces at lists.zeromq.org] 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 <tonis.xie at gmail.com<mailto:tonis.xie at gmail.com>> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110728/bc6c2c21/attachment.htm>
More information about the zeromq-dev
mailing list