I did read ZMTP 3 RFC23 several times, but it is not so obvious, even
with the "Worked Example". In particular if two clients connect in the
same time to a ROUTER server. As the identity is communicated in the
metadata at the end of the handcheck, how the server distinguishes the
two clients ? Is there some temporary identities ? If yes, on what is it
built ?
Besides, setting an identity is an option. So a DEALER talking to a
ROUTER SHALL set an arbitrary one. But it knows it talks to a ROUTER
after having sent its identity. So it doesn't know it talks to a ROUTER
when it sends its identity, and therefore, it can send an empty one.
I remain a bit confused.
Le 10/12/2013 10:17, Pieter Hintjens a écrit :
Laurent, please read the ZMTP v3 protocol spec with regard to
identities. A tells B, "this is my identity". B then uses that value
to refer to A, IF AND ONLY IF B IS A ROUTER. More usually, A says "I
have no identity" and B assigns an internal numeric identity.
On Mon, Dec 9, 2013 at 3:59 PM, Laurent Alebarde <[email protected]> wrote:
Hi Devs,
Are the identities of two different sockets on the same peer the same,
viewed by one single other peer ?
Say:
Node 1 ________________________________ Node 2
Socket A1 (NULL) <----------------------------------> Socket A2
(NULL) : Node 1 has identity I1a
Socket B1 (CURVE) <---------------------------------> Socket B2
(CURVE) : Node 1 has identity I1b
Is I1a == I1b ?
Cheers,
Laurent
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev