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

Ian Barber ian.barber at gmail.com
Mon Jun 20 14:08:49 CEST 2011


On Mon, Jun 20, 2011 at 1:01 PM, Pieter Hintjens <ph at imatix.com> wrote:

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

This seems to open the possibility of getting unintended duplicate identity
issues. For example, if I have a script that creates a socket, connects, and
exits, I could easily share an identity over a short time period. There
could also be an issue with NAT perhaps. I guess IPC would be PID, and
inproc could just use some incrementing value or similar. For PGM I guess it
would have to be the interface IP address, though we don't have an easily
distinguishable port there do we? AFAIU you could have multiple publishers
on one box pushing from the same interface onto the same multicast IP/port?

I think there would need to still be the leading null or similar to
distinguish generated identifies from manual identities, or are manual
identities being ditched completely in 3 (I am fine with that :)).

Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110620/80224244/attachment.htm>


More information about the zeromq-dev mailing list