[zeromq-dev] Dealing with client-side crash for REQ/REP

Michi Henning michi at triodia.com
Wed Jan 8 00:29:23 CET 2014

On 8 Jan 2014, at 9:20 , Bruno D. Rodrigues <bruno.rodrigues at litux.org> wrote:

> Straight from the sockets documentation, Router won’t ever block and will either discard the message if nothing is connected, or queue up to the HWM (and then drop) if there is a connection. This applies to Router and PUB. It’s a little bit more complicated than this (queue vs. plain drop) if it’s on the bind or the connect side, but the point is that they get dropped and never block.

Thanks for that!

About one minute after sending my previous message, I found
this in the doc:

"If the peer does not exist anymore the message shall be silently discarded by default,
unless ZMQ_ROUTER_BEHAVIOR socket option is set to 1."

My apologies for the noise!



More information about the zeromq-dev mailing list