diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-09-07 14:56:23 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-10-06 14:16:06 -0700 |
| commit | 0a8b26cd6955f28e405e007a8ff2f090426ded04 (patch) | |
| tree | 649b0b1ef99f191a05e25d8f8b6542fc921bb40b /docs/man/nng_sub.7.adoc | |
| parent | e677cf5a779ab1698985cf926ba7112168bc5c97 (diff) | |
| download | nng-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.adoc | 4 |
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. |
