From bdf85dd692d803b7b2fc793f1c7723f9874bfcdb Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 8 Oct 2025 18:58:28 -0700 Subject: Numerous link fixups - protocols now use xrefs.md properly. --- docs/ref/proto/sub.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'docs/ref/proto/sub.md') diff --git a/docs/ref/proto/sub.md b/docs/ref/proto/sub.md index dd9e0363..5234b6fb 100644 --- a/docs/ref/proto/sub.md +++ b/docs/ref/proto/sub.md @@ -19,9 +19,9 @@ Applications should construct their messages accordingly. ### Socket Operations -The [`nng_sub0_open`][nng_sub_open] functions create a _SUB_ socket. +The [`nng_sub0_open`] functions create a _SUB_ socket. This socket may be used to receive messages, but is unable to send them. -Attempts to send messages will result in `NNG_ENOTSUP`. +Attempts to send messages will result in [`NNG_ENOTSUP`]. ### Protocol Versions @@ -43,6 +43,4 @@ The following protocol-specific option is available. The _SUB_ protocol has no protocol-specific headers. -[nng_sub_open]: TODO.md -[nng_socket_set]: TODO.md -[pub]: ./pub.md +{{#include ../xref.md}} -- cgit v1.2.3-70-g09d2