[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zeromq-dev
Subject:    Re: [zeromq-dev] ROUTER sockets and IDENTITY
From:       Pieter Hintjens <ph () imatix ! com>
Date:       2013-06-27 18:04:53
Message-ID: CADL5_sjb_ZU7Xbz=BpaLQ_6eL2VYBAg088WRsuDfzgkmZ90BEw () mail ! gmail ! com
[Download RAW message or body]

You're right, the reconnection will be refused the right to reuse the
identity. We could change this if you can find a sensible semantic.

-Pieter

On Thu, Jun 27, 2013 at 4:20 PM, Mark Barbisan <Mark.Barbisan@evault.com> wrote:
> Hello,
> 
> ZeroMQ supports multiple NICs for its sockets. If a client gets disconnected with \
> queued messages, it will automatically try to reconnect with the other available \
> NICs. However, there is a problem if the client has set its socket identity (using \
> ZMQ_IDENTITY). The identity does not change upon reconnect. A server with a ROUTER \
> socket that receives the new client's connection will see the same ZMQ_IDENTITY \
> again. However, since the new incoming connection uses a different address (due to \
> a different NIC) but has the same identity, the ROUTER socket will automatically \
> place it into a list of "anonymous" connections. The client has no way of receiving \
> responses. 
> Does ZeroMQ provide a facility to reassign identities for the clients of ROUTER \
> sockets? 
> Thanks,
> 
> - Mark.
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev@lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic