From 288c9bf6dfc333b5a4d894b24e54e4fb3da34d51 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 2 Jan 2025 00:40:06 -0800 Subject: docs: remove references to asterisk wildcard, other tweaks --- docs/man/nng_tcp.7.adoc | 8 +++----- docs/man/nng_tls.7.adoc | 8 +++----- 2 files changed, 6 insertions(+), 10 deletions(-) (limited to 'docs/man') 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. -- cgit v1.2.3-70-g09d2