[zeromq-dev] CZMQ/ZMQ Heartbeating demo.

Stephen Gray riskybizlive at live.com
Thu Nov 9 20:08:05 CET 2017


We have built-in heartbeating socket options from libzmq 4.2.0.

http://czmq.zeromq.org/czmq4-0:zsock

Does anyone know of a demo code which shows how to use them? Ideally using CZMQ.

In particular; how does a program break out of a long-running send or receive loop when the heartbeat ttl has expired or there in no heartbeat response from a peer?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20171109/bbf6c2cd/attachment.htm>


More information about the zeromq-dev mailing list