[zeromq-dev] Router/Dealer lost messages (libzmq 3.1.1)

MinRK benjaminrk at gmail.com
Tue Jan 24 21:02:04 CET 2012


On Tue, Jan 24, 2012 at 10:01, Pieter Hintjens <ph at imatix.com> wrote:
> On Mon, Jan 23, 2012 at 7:12 PM, Pasi Mankinen
> <mailing.list at manageapp.com> wrote:
>
>> My conclusion is that ZMQ_XREP = ZMQ_ROUTER does not work at all in 3.1.1. It works in 2.1.x.
>
> Indeed, and in 3.1 XREP was re-introduced as a system-level socket
> type that you should not use in code.  The 3.1 man pages should make
> that clear, if they don't it's a bug.

This isn't accurate.  In the dismantled *3.0* branch XREP/ROUTER were
distinct as part of the whole LABEL business. In 3.1 ROUTER/XREP
remain aliased names of the same socket type, and are intended to
behave exactly the same as in 2.1.

https://github.com/zeromq/libzmq/blob/master/include/zmq.h#L169


>
> That was probably a mistake, old names should not IMO be reused like this.
>
> -Pieter
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev



More information about the zeromq-dev mailing list