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 <[email protected]> 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 > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
