mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-03 04:38:42 +01:00
Document altered HWM behaviour when ZMQ_ROUTER_MANDATORY is set.
This commit is contained in:
parent
e71ebbb771
commit
da6cf63857
@ -644,8 +644,11 @@ ZMQ_ROUTER_MANDATORY: accept only routable messages on ROUTER sockets
|
|||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
Sets the ROUTER socket behavior when an unroutable message is encountered. A
|
Sets the ROUTER socket behavior when an unroutable message is encountered. A
|
||||||
value of `0` is the default and discards the message silently when it cannot be
|
value of `0` is the default and discards the message silently when it cannot be
|
||||||
routed. A value of `1` returns an 'EHOSTUNREACH' error code if the message
|
routed or the peers SNDHWM is reached. A value of `1` returns an
|
||||||
cannot be routed.
|
'EHOSTUNREACH' error code if the message cannot be routed or 'EAGAIN' error
|
||||||
|
code if the SNDHWM is reached and ZMQ_DONTWAIT was used. Without ZMQ_DONTWAIT
|
||||||
|
it will block until the SNDTIMEO is reached or a spot in the send queue opens
|
||||||
|
up.
|
||||||
|
|
||||||
[horizontal]
|
[horizontal]
|
||||||
Option value type:: int
|
Option value type:: int
|
||||||
|
Loading…
x
Reference in New Issue
Block a user