[zeromq-dev] Majordomo worker API destroy worker socket

Pieter Hintjens ph at imatix.com
Mon Feb 18 00:24:07 CET 2013

On Fri, Feb 15, 2013 at 9:13 PM, Martijn Rijkeboer <zeromq at bunix.org> wrote:

> In the s_mdwrk_connect_to_broker function of the Majordomo worker API the
> worker socket is destroyed and recreated. What is the reason for this
> since, according to the zguide, ZeroMQ reconnects automatically?

This is how to reset after a lost reply message when using a REQ
socket. You can't send another message on the same socket since REQ is
blocked waiting for the reply.


More information about the zeromq-dev mailing list