diff options
author | Steven McCoy <steven.mccoy@miru.hk> | 2011-08-08 12:10:31 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-08-08 12:10:31 +0200 |
commit | 784041f5b99ba28252c9bb67a5bfb4a5da41ef93 (patch) | |
tree | 3306c8c36266a052f9365d757197e7852ec52031 /doc/zmq_setsockopt.txt | |
parent | 8378180cbb69c44fdd84f9ee05620bf8744cce48 (diff) |
ZMQ_IPV4ONLY option added
At this point option exists, is documented and can be set,
however, it has no effect.
Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'doc/zmq_setsockopt.txt')
-rw-r--r-- | doc/zmq_setsockopt.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/zmq_setsockopt.txt b/doc/zmq_setsockopt.txt index f62a7e9..b06388c 100644 --- a/doc/zmq_setsockopt.txt +++ b/doc/zmq_setsockopt.txt @@ -321,6 +321,20 @@ Default value:: -1 (infinite) Applicable socket types:: all +ZMQ_IPV4ONLY: Use IPv4-only sockets +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Sets the underlying native socket type. A value of `1` will use IPv4 sockets, +while the default value of `0` will use IPv6 sockets. An IPv6 socket lets +applications connect to and accept connections from both IPv4 and IPv6 hosts. + +[horizontal] +Option value type:: int +Option value unit:: boolean +Default value:: 1 (true) +Applicable socket types:: all, when using TCP transports. + + RETURN VALUE ------------ The _zmq_setsockopt()_ function shall return zero if successful. Otherwise it |