Closed warownia1 closed 4 years ago
See: http://api.zeromq.org/4-1:zmq-setsockopt
set ZMQ_REQ_RELAXED
to 1 to allow repeated send
see also ZMQ_REQ_CORRELATE
The timeout can be set using socket.setsockopt(zmq.RCVTIMEO, timeout)
which causes zmq.Again
exception on timeout.
ZMQ socket communicating with the local queue should timeout (raise an exception) if no reply is received.