On Wed, Nov 16, 2011 at 12:45 PM, Martin Sustrik <[email protected]> wrote: > On 11/16/2011 07:42 PM, Amr Ali wrote: >> Under 3.1.0 man pages documentation, ZMQ_IPV4ONLY states "... A value of 1 >> will >> use IPv4 sockets, while the *default value of 0* will use IPv6 sockets." >> while >> it also states "Default value 1 (true)". Which one of these statements is >> true? > > Default is 1, ie. using IPv4 only.
Attached is a patch that fixes the doc. -Pieter
From 8ab9930d558ded67312918a06e871c1bc4818ed3 Mon Sep 17 00:00:00 2001 From: Pieter Hintjens <[email protected]> Date: Wed, 16 Nov 2011 12:53:04 -0600 Subject: [PATCH] Fixed doc for ZMQ_IPV4ONLY Signed-off-by: Pieter Hintjens <[email protected]> --- doc/zmq_setsockopt.txt | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/zmq_setsockopt.txt b/doc/zmq_setsockopt.txt index 72d1faa..8e1cd09 100644 --- a/doc/zmq_setsockopt.txt +++ b/doc/zmq_setsockopt.txt @@ -337,8 +337,8 @@ 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 +Sets the underlying native socket type. The default value of `1` will use +IPv4 sockets, while a value of `0` will use IPv6 sockets. An IPv6 socket lets applications connect to and accept connections from both IPv4 and IPv6 hosts. [horizontal] -- 1.7.5.4
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
