Hi Erwin, No it is not possible to detect the failure of the peer. The problem is inherently semi-decidable, i.e. you can make sure that peer is alive (if it responds), but there's no way to distinguish a peer failure from a slow/dead network.
Thus the only thing you can do is a handshake with the peer and if response isn't received in, say, 1 minute, consider the peer dead. Of course, you won't be 100% sure -- it can still be caused by network failure, congestion or somesuch. Martin On 04/06/13 13:54, Erwin wrote: > Hi Guys, > > Any help please. > > Thanks, > Erwin > > _______________________________________________ > 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
