diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-10-08 18:58:28 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-10-08 18:58:28 -0700 |
| commit | bdf85dd692d803b7b2fc793f1c7723f9874bfcdb (patch) | |
| tree | 7e89c24535dbbe904c96fab4be7ea99e3faf628a /docs/ref/proto/push.md | |
| parent | 6b6a5533c65f16f8757c3e271970f51d062aa1aa (diff) | |
| download | nng-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/push.md')
| -rw-r--r-- | docs/ref/proto/push.md | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/docs/ref/proto/push.md b/docs/ref/proto/push.md index e0218bbd..65ec0d22 100644 --- a/docs/ref/proto/push.md +++ b/docs/ref/proto/push.md @@ -13,7 +13,7 @@ This property makes this pattern useful in {{i:load-balancing}} scenarios. ### Socket Operations -The [`nng_push0_open`][nng_push_open] call creates a _PUSH_ socket. +The [`nng_push0_open`] function creates a _PUSH_ socket. This socket may be used to send messages, but is unable to receive them. Attempts to receive messages will result in `NNG_ENOTSUP`. @@ -36,7 +36,7 @@ Only version 0 of this protocol is supported. ### Protocol Options -- [`NNG_OPT_SENDBUF`][NNG_OPT_SENDBUF]: +- [`NNG_OPT_SENDBUF`]: (`int`, 0 - 8192) Normally this is set to zero, indicating that send operations are unbuffered. In unbuffered operation, send operations will wait until a suitable peer is available to receive the message. @@ -51,7 +51,4 @@ Only version 0 of this protocol is supported. The _PUSH_ protocol has no protocol-specific headers. -[nng_push_open]: TODO.md -[NNG_OPT_SENDBUF]: TODO.md -[pull]: ./pull.md -[req]: ./req.md +{{#include ../xref.md}} |
