[zeromq-dev] Identity and reconnection

Lindley French lindleyf at gmail.com
Tue Dec 17 23:49:32 CET 2013


Thanks, that advice helped me to find the relevant section:
http://zguide.zeromq.org/page:all#Identities-and-Addresses


On Tue, Dec 17, 2013 at 5:44 PM, Bruno D. Rodrigues <
bruno.rodrigues at litux.org> wrote:

> 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
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20131217/d3223493/attachment.htm>


More information about the zeromq-dev mailing list