On 27 June 2013 02:19, Amar Pol <[email protected]> wrote:

> Now if some how *IP address of subscriber(biometric device in our case)
> changes , communication breaks*.
>
>
Ideally when the IP address changes the socket disconnects and 0mq's
reconnection mechanism kicks in and recovers.  However this can be highly
dependent upon the DHCP mechanism whether the interface is re-plumbed or
not.

The typical solution for sockets on say Linux is to subscribe to a NETLINK
socket receive interface change notifications and then tear down the socket
and reconnect.

An actual trace of what is happening in libzmq after the address has
changed would be useful.  Does the OS think the socket is still open?

-- 
Steve-o
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to