[zeromq-dev] Using a ROUTER to direct messages to a new peer

Pieter Hintjens ph at imatix.com
Thu Sep 29 00:33:45 CEST 2011


On Wed, Sep 28, 2011 at 2:54 PM, Elliot Saba <staticfloat at gmail.com> wrote:

> Hey Martin, for some reason it's not working for me.  My messages appear to
> be dropped by the ROUTER socket before leaving the interface.
> Does the introduction of the LABEL flag have anything to do with this?
>  Right now I am sending the "address" of the peer I wish to talk to with
> just a ZMQ_SNDMORE flag, do I need to use ZMQ_SNDLABEL or anything like
> that?

You're using version 3.0? Then you do need to set ZMQ_SNDLABEL, yes.

-Pieter



More information about the zeromq-dev mailing list