From 1e5a79637471c1add6e673954f02736d07c2c3a8 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 14 Oct 2024 23:03:01 -0700 Subject: [PATCH] Minor fixes for () in docs --- docs/ref/proto/pub.md | 2 +- docs/ref/tran/socket.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ref/proto/pub.md b/docs/ref/proto/pub.md index 40a757063..55292f7a8 100644 --- a/docs/ref/proto/pub.md +++ b/docs/ref/proto/pub.md @@ -22,7 +22,7 @@ Applications should construct their messages accordingly. ## Socket Operations -The [`nng_pub0_open()`][nng_pub_open] functions create a publisher socket. +The [`nng_pub0_open`][nng_pub_open] functions create 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`. diff --git a/docs/ref/tran/socket.md b/docs/ref/tran/socket.md index 24b7cf68a..1e085f7d9 100644 --- a/docs/ref/tran/socket.md +++ b/docs/ref/tran/socket.md @@ -23,7 +23,7 @@ for the [_tcp_][tcp] transport, but this is an implementation detail and subject > [!NOTE] > This transport is _experimental_, and at present is only supported on POSIX platforms. -> {{footnote: Windows lacks a suitable `socketpair()` equivalent function we could use.}} +> {{footnote: Windows lacks a suitable `socketpair` equivalent function we could use.}} ## Registration