aboutsummaryrefslogtreecommitdiff
path: root/docs/man/nng_sub.7.adoc
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-09-07 14:56:23 -0700
committerGarrett D'Amore <garrett@damore.org>2024-10-06 14:16:06 -0700
commit0a8b26cd6955f28e405e007a8ff2f090426ded04 (patch)
tree649b0b1ef99f191a05e25d8f8b6542fc921bb40b /docs/man/nng_sub.7.adoc
parente677cf5a779ab1698985cf926ba7112168bc5c97 (diff)
downloadnng-0a8b26cd6955f28e405e007a8ff2f090426ded04.tar.gz
nng-0a8b26cd6955f28e405e007a8ff2f090426ded04.tar.bz2
nng-0a8b26cd6955f28e405e007a8ff2f090426ded04.zip
Remove the last of the legacy option handling functions.
Diffstat (limited to 'docs/man/nng_sub.7.adoc')
-rw-r--r--docs/man/nng_sub.7.adoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/man/nng_sub.7.adoc b/docs/man/nng_sub.7.adoc
index a96c1217..b362c656 100644
--- a/docs/man/nng_sub.7.adoc
+++ b/docs/man/nng_sub.7.adoc
@@ -66,10 +66,10 @@ The following protocol-specific options are available.
discarded.
+
NOTE: This option is a byte array. Thus if you use
-xref:nng_setopt.3.adoc[`nng_setopt_string()`] the `NUL` terminator byte will
+xref:nng_socket_set.3.adoc[`nng_socket_set_string()`] the `NUL` terminator byte will
be included in the topic.
If that isn't desired, consider using
-xref:nng_setopt.3.adoc[`nng_setopt()`] and using `strlen()` of the topic
+xref:nng_socket_set.3.adoc[`nng_socket_set()`] and using `strlen()` of the topic
as the topic size.
+
TIP: To receive all messages, an empty topic (zero length) can be used.