[zeromq-dev] Detecting sending failure due to over-full queue

Pieter Hintjens ph at imatix.com
Tue Oct 5 17:16:51 CEST 2010


On Tue, Oct 5, 2010 at 4:57 PM, Iñaki Baz Castillo <ibc at aliax.net> wrote:

>> Uhm, errno == EAGAIN?
>
> Yes, ok, what I exactly ask is: Could errno be EAGAIN due to other
> kind of failure? (in case of XREQ).

ZMQ_NONBLOCK 'specifies that the operation should be performed in
non-blocking mode. If the message cannot be queued on the socket, the
zmq_send() function shall fail with errno set to EAGAIN.'

I think that's the only case.

-
Pieter Hintjens
iMatix - www.imatix.com



More information about the zeromq-dev mailing list