aboutsummaryrefslogtreecommitdiff
path: root/docs/man
diff options
context:
space:
mode:
Diffstat (limited to 'docs/man')
-rw-r--r--docs/man/nng_tcp.7.adoc8
-rw-r--r--docs/man/nng_tls.7.adoc8
2 files changed, 6 insertions, 10 deletions
diff --git a/docs/man/nng_tcp.7.adoc b/docs/man/nng_tcp.7.adoc
index a5855f77..cf84ac7e 100644
--- a/docs/man/nng_tcp.7.adoc
+++ b/docs/man/nng_tcp.7.adoc
@@ -55,14 +55,12 @@ be specified as `tcp://[::1]:80`.
The special value of 0 (`INADDR_ANY`)(((`INADDR_ANY`)))
can be used for a listener to indicate that it should listen on all
interfaces on the host.
-A short-hand for this form is to either omit the address, or specify
-the asterisk (`*`) character.
-For example, the following three URIs are all equivalent,
+A short-hand for this form is to omit the IP address entirely.
+For example, the following URIs are equivalent,
and could be used to listen to port 9999 on the host:
1. `tcp://0.0.0.0:9999`
- 2. `tcp://*:9999`
- 3. `tcp://:9999`
+ 2. `tcp://:9999`
The entire URI must be less than `NNG_MAXADDRLEN` bytes long.
diff --git a/docs/man/nng_tls.7.adoc b/docs/man/nng_tls.7.adoc
index a4b39f48..a6ad395c 100644
--- a/docs/man/nng_tls.7.adoc
+++ b/docs/man/nng_tls.7.adoc
@@ -80,14 +80,12 @@ the certificate supplied by the server.
The special value of 0 (`INADDR_ANY`) can be used for a listener
to indicate that it should listen on all interfaces on the host.
-A short-hand for this form is to either omit the address, or specify
-the asterisk (`*`) character.
-For example, the following three URIs are all equivalent,
+A short-hand for this form is to omit the IP address entirely.
+For example, the following URIs are equivalent,
and could be used to listen to port 9999 on the host:
1. `tls+tcp://0.0.0.0:9999`
- 2. `tls+tcp://*:9999`
- 3. `tls+tcp://:9999`
+ 2. `tls+tcp://:9999`
The entire URI must be less than `NNG_MAXADDRLEN` bytes long.