aboutsummaryrefslogtreecommitdiff
path: root/docs/man
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-01-02 00:40:06 -0800
committerGarrett D'Amore <garrett@damore.org>2025-01-02 00:40:06 -0800
commit288c9bf6dfc333b5a4d894b24e54e4fb3da34d51 (patch)
tree0916ccf62c40a740beb44988d1a450270e4a1c50 /docs/man
parent2f6c090c92a563f1a92329810675fb49f3105cc3 (diff)
downloadnng-288c9bf6dfc333b5a4d894b24e54e4fb3da34d51.tar.gz
nng-288c9bf6dfc333b5a4d894b24e54e4fb3da34d51.tar.bz2
nng-288c9bf6dfc333b5a4d894b24e54e4fb3da34d51.zip
docs: remove references to asterisk wildcard, other tweaks
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.