aboutsummaryrefslogtreecommitdiff
path: root/docs/ref/proto/sub.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref/proto/sub.md')
-rw-r--r--docs/ref/proto/sub.md8
1 files changed, 3 insertions, 5 deletions
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}}