[zeromq-dev] SNDTIMEO and HWM
Pieter Hintjens
ph at imatix.com
Tue Apr 28 13:49:18 CEST 2015
The behaviour of dealer sockets is explained in detail here:
http://rfc.zeromq.org/spec:28
If the message cannot be sent for any reason, it will block. If you
define a timeout it will return after that timeout, with EAGAIN.
On Tue, Apr 28, 2015 at 12:34 PM, Daniel Krikun <dkrikun0 at gmail.com> wrote:
> No one has an idea?
>
> On Apr 26, 2015 16:06, "Daniel Krikun" <dkrikun0 at gmail.com> wrote:
>>
>> Hello,
>>
>> If I have a ZMQ_DEALER socket which cannot send a message due to its
>> high-watermark limit, and it also has the send timeout set to e.g. 5 msec,
>> will the send block or return with EAGAIN?
>>
>> I apologize if this has already been explained elsewhere.
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
More information about the zeromq-dev
mailing list