I'd suggest using the ping-pong heartbeat strategy explained in the Guide.

Pieter
On Dec 19, 2012 9:59 PM, "Felipe Farinon" <[email protected]>
wrote:

> I am thinking of using zmq_socket_monitor for creating a heartbeat
> strategy.
>
> But I would like to know when it notifies that a disconnection occured?
> Is it when I try to send some data in the socket and the OS tells that
> the socket that it has been disconnected? Or is it when the endpoint
> closes the connection even if it's not closed graciously?
> _______________________________________________
> 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

Reply via email to