aboutsummaryrefslogtreecommitdiff
path: root/docs/ref/proto/pub.md
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-10-08 18:58:28 -0700
committerGarrett D'Amore <garrett@damore.org>2025-10-08 18:58:28 -0700
commitbdf85dd692d803b7b2fc793f1c7723f9874bfcdb (patch)
tree7e89c24535dbbe904c96fab4be7ea99e3faf628a /docs/ref/proto/pub.md
parent6b6a5533c65f16f8757c3e271970f51d062aa1aa (diff)
downloadnng-bdf85dd692d803b7b2fc793f1c7723f9874bfcdb.tar.gz
nng-bdf85dd692d803b7b2fc793f1c7723f9874bfcdb.tar.bz2
nng-bdf85dd692d803b7b2fc793f1c7723f9874bfcdb.zip
Numerous link fixups - protocols now use xrefs.md properly.
Diffstat (limited to 'docs/ref/proto/pub.md')
-rw-r--r--docs/ref/proto/pub.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/proto/pub.md b/docs/ref/proto/pub.md
index 55292f7a..40fccb24 100644
--- a/docs/ref/proto/pub.md
+++ b/docs/ref/proto/pub.md
@@ -22,9 +22,9 @@ Applications should construct their messages accordingly.
## Socket Operations
-The [`nng_pub0_open`][nng_pub_open] functions create a publisher socket.
+The [`nng_pub0_open`] function creates a publisher socket.
This socket may be used to send messages, but is unable to receive them.
-Attempts to receive messages will result in `NNG_ENOTSUP`.
+Attempts to receive messages will result in [`NNG_ENOTSUP`].
## Protocol Versions
@@ -39,4 +39,4 @@ The _PUB_ protocol has no protocol-specific options.
The _PUB_ protocol has no protocol-specific headers.
-[nng_pub_open]: TODO.md
+{{#include ../xref.md}}