[zeromq-dev] Identity and reconnection
Bruno D. Rodrigues
bruno.rodrigues at litux.org
Tue Dec 17 23:44:34 CET 2013
>From my experience if you set the dealer identity before connecting,
by design it will always use that value. It's when the identity is not
set manually and the router calculates a unique id that it will
change.
--
Bruno Rodrigues
Sent from my iPhone
No dia 17/12/2013, às 22:33, Greg Ward <greg at gerg.ca> escreveu:
> On 17 December 2013, Lindley French said:
>> This is a bit of a novice question, but I can't find any answer to this in
>> the Guide....
>>
>> If a DEALER is connected to a ROUTER, and the underlying TCP connection
>> goes down for some reason and is then reestablished, will the DEALER still
>> have the same identity in the ROUTER?
>
> No.
>
> Disclaimer: I'm not a 0MQ expert, and I haven't read the source code
> or the documentation for this. But late last week, I incorrectly
> assumed that the same 0MQ ID works for the entire lifetime of a
> server, even if clients disconnect and reconnect. That incorrect
> assumption cost me 2 days of debugging. Learn from my fail. ;-)
>
> Greg
> _______________________________________________
> 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