How to send a one-way heartbeat message in ZMQ?

Viewed 64

Trying to send a one-way heartbeat message in ZMQ. Could anyone point me in the right direction? I am using libzmq and cppzmq.

1 Answers

Q : How to send a one-way heartbeat message in ZMQ?

A :
one can simply aSocket.send( "" ); as a one-way, app-controlled, "soft"-heartbeat signal, ZeroMQ delivers it, so your remote-side application code can react accordingly to any such delivery

Related