mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-09 23:36:04 +00:00
man entry for the new option
This commit is contained in:
parent
df584a3be0
commit
8095a129e8
@ -12,8 +12,9 @@ SYNOPSIS
|
|||||||
--------
|
--------
|
||||||
*int zmq_setsockopt (void '*socket', int 'option_name', const void '*option_value', size_t 'option_len');*
|
*int zmq_setsockopt (void '*socket', int 'option_name', const void '*option_value', size_t 'option_len');*
|
||||||
|
|
||||||
Caution: All options, with the exception of ZMQ_SUBSCRIBE, ZMQ_UNSUBSCRIBE and
|
Caution: All options, with the exception of ZMQ_SUBSCRIBE, ZMQ_UNSUBSCRIBE,
|
||||||
ZMQ_LINGER, only take effect for subsequent socket bind/connects.
|
ZMQ_LINGER and ZMQ_FAIL_UNROUTABLE only take effect for subsequent socket
|
||||||
|
bind/connects.
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
@ -348,6 +349,21 @@ Default value:: 1 (true)
|
|||||||
Applicable socket types:: all, when using TCP transports.
|
Applicable socket types:: all, when using TCP transports.
|
||||||
|
|
||||||
|
|
||||||
|
ZMQ_FAIL_UNROUTABLE: Set unroutable message behavior
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Sets the behavior when an unroutable message is encountered in a 'ZMQ_ROUTER'
|
||||||
|
socket. A value of `0` is the default behavior when the message is silently
|
||||||
|
dropped, while a value of `1` forces the sending to fail with a 'EHOSTUNREACH'
|
||||||
|
error code.
|
||||||
|
|
||||||
|
[horizontal]
|
||||||
|
Option value type:: int
|
||||||
|
Option value unit:: boolean
|
||||||
|
Default value:: 0 (false)
|
||||||
|
Applicable socket types:: ZMQ_ROUTER
|
||||||
|
|
||||||
|
|
||||||
RETURN VALUE
|
RETURN VALUE
|
||||||
------------
|
------------
|
||||||
The _zmq_setsockopt()_ function shall return zero if successful. Otherwise it
|
The _zmq_setsockopt()_ function shall return zero if successful. Otherwise it
|
||||||
|
Loading…
x
Reference in New Issue
Block a user