[zeromq-dev] Detecting sending failure due to over-full queue
Iñaki Baz Castillo
ibc at aliax.net
Tue Oct 5 17:18:31 CEST 2010
2010/10/5 Pieter Hintjens <ph at imatix.com>:
> 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.
Great.
--
Iñaki Baz Castillo
<ibc at aliax.net>
More information about the zeromq-dev
mailing list