[zeromq-dev] Use zmq_socket_monitor for heartbeating
Pieter Hintjens
pieterh at gmail.com
Wed Dec 19 22:00:22 CET 2012
I'd suggest using the ping-pong heartbeat strategy explained in the Guide.
Pieter
On Dec 19, 2012 9:59 PM, "Felipe Farinon" <felipe.farinon at powersyslab.com>
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
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20121219/d1279210/attachment.htm>
More information about the zeromq-dev
mailing list