[zeromq-dev] [PATCH] Introduce ZMQ_ROUTER and ZMQ_DEALER sockets

Pieter Hintjens ph at imatix.com
Mon Jun 20 14:01:33 CEST 2011

On Mon, Jun 20, 2011 at 1:45 PM, Martin Sustrik <sustrik at 250bpm.com> wrote:

> The idea is to preserve the existing functionality in ZMQ_ROUTER and
> ZMQ_DEALER sockets...

Nice move. DEALER sockets are simple, nothing to change there. For
ROUTER sockets, I'd propose moving to 'schemed identities':

    schemename :// addressvalue

Where schemename is a 0MQ transport (e.g. "tcp", "pgm", etc.) and
addressvalue is the address of the remote peer (sender node or device)
according to the semantics and syntax of the transport.

A typical addressvalue would consist of host IP address, ":", and port number.

This would be rather more useful than opaque identities. It's the way
VTX is implementing ROUTER sockets.


More information about the zeromq-dev mailing list