[zeromq-dev] Majordomo worker API destroy worker socket
Martijn Rijkeboer
zeromq at bunix.org
Mon Feb 18 08:36:41 CET 2013
>> 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.
This would be the case if it were a REQ socket, but in this case it is a
DEALER socket and there is a timeout used on the poller so that shouldn't be
an issue.
Kind regards,
Martijn Rijkeboer
More information about the zeromq-dev
mailing list