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

Pieter Hintjens ph at imatix.com
Thu Sep 29 15:35:35 CEST 2011


On Wed, Sep 28, 2011 at 6:32 PM, MinRK <benjaminrk at gmail.com> wrote:

> In 3.0 ROUTER/DEALER == 2.1-ROUTER/DEALER, but XREP/XREQ != ROUTER/DEALER
> These 2.1 sockets continue to exist in 3.0 as ROUTER/DEALER, and behave in
> the same way - if you had a ROUTER/DEALER or XREP/XREQ app in 2.1, it should
> work just fine under the ROUTER/DEALER name in 3.0 with no changes (this has
> proven true for IPython), so ROUTER/DEALER are safe transitional socket
> types, but XREQ/XREP are not.
> XREQ/XREP have been changed in 3.0 to use the new LABEL prefix stuff, so you
> have to make changes in order to support it.

So the XREP/XEQ explanation from the libzmq zmq_socket doc is accurate
for 3.0? I'll backport that text, then.

-Pieter



More information about the zeromq-dev mailing list