On Wed, Dec 14, 2011 at 12:53 PM, Chuck Remes <[email protected]>wrote:
> It depends. If you are connecting the PUB socket to the SUB socket, then > the PUB socket creates an internal queue and starts feeding data into it. > By default the HWM is 0 so it's unbounded. > > If you bind the PUB socket, then no internal queue is created. Any > messages sent without a subscriber are dropped. > > This should probably be documented beyond the mailing list. Right, I connect the PUB socket instead of binding it (because my subscriber is supposed to be more durable). I guess I'll have to figure out what appropriate HWM to set. -Andrei
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
