[zeromq-dev] ROUTER sockets and IDENTITY

Pieter Hintjens ph at imatix.com
Tue Jul 2 17:57:25 CEST 2013


On Tue, Jul 2, 2013 at 3:44 PM, Mark Barbisan <Mark.Barbisan at evault.com> wrote:

> The behaviour I was thinking about would be very simple: when the router socket encounters a connection with an already taken identity, it allows the new connection to assume that identity.

> This new behaviour could be enabled via a new flag for zmq_setsockopt.  However, it would have to assume a trusted/secured network.

Sounds right. We'd want to keep existing behaviour for compatibility,
so make this optional.

I've been thinking about breaking out ROUTER plus a few of the
relevant options into a new SERVER socket type that would work with a
CLIENT type (basically DEALER) adding heartbeating, PROBE_ROUTER,
ROUTER_MANDATORY, etc..

-Pieter



More information about the zeromq-dev mailing list