[zeromq-dev] EAGAIN that I can't explain on zmq_msg_send to TCP DEALER

Benson Margulies bimargulies at gmail.com
Tue Mar 24 14:03:12 CET 2015


Linux. ZMQ 4.0.5.

I have a thread; it reads from a PULL (inproc) and writes to a DEALER
(tcp). It is driven in a loop with zmq_poll, in fact, it multiplexes
several PULL sockets to the one DEALER.

It reads with zmq_msg_recv and sends with zmq_msg_send, recycling the
same msg over and over.

It never passes the nonblocking flag. I set no explicit HWM or other
socket options.

Sooner or later, zmq_msg_send fails with EAGAIN on the DEALER.

As I read the doc, this should not be possible.

(Note: i thought I sent a version of this question before, but I do
not see it in the archive and I never got a reply. apologies if it
came through and is somehow beneath notice.)



More information about the zeromq-dev mailing list