From 2bd762d472334c6cd612ff0c57bb87718254ff8c Mon Sep 17 00:00:00 2001 From: gdamore Date: Thu, 2 Jan 2025 15:50:13 +0000 Subject: deploy: 288c9bf6dfc333b5a4d894b24e54e4fb3da34d51 --- ref/api/sock.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ref/api') diff --git a/ref/api/sock.html b/ref/api/sock.html index e66cfe81..e702756c 100644 --- a/ref/api/sock.html +++ b/ref/api/sock.html @@ -515,13 +515,13 @@ for an underlying transport, the option should be set on the Common Options

The following options are available for many protocols, and always use the same types and semantics described below.

- + - - + + - +
OptionTypeDescription
NNG_OPT_MAXTTLintMaximum number of traversals across an nng_device device.
NNG_OPT_MAXTTLintMaximum number of traversals across an nng_device device, to prevent forwarding loops. May be 1-255, inclusive. Normally defaults to 8.
NNG_OPT_RECONNMAXTnng_durationMaximum time dialers will delay before trying after failing to connect.
NNG_OPT_RECONNMINTnng_durationMinimum time dialers will delay before trying after failing to connect.
NNG_OPT_RECVBUFintMaximum number of messages to buffer locally when receiving.
NNG_OPT_RECVMAXSZsize_tMaximum message size acceptable for receiving. Can be tuned independently on dialers and listeners.
NNG_OPT_RECVBUFintMaximum number of messages (0-8192) to buffer locally when receiving.
NNG_OPT_RECVMAXSZsize_tMaximum message size acceptable for receiving. Zero means unlimited. Intended to prevent remote abuse. Can be tuned independently on dialers and listeners.
NNG_OPT_RECVTIMEOnng_durationDefault timeout (ms) for receiving messages.
NNG_OPT_SENDBUFintMaximum number of messages to buffer when sending messages.
NNG_OPT_SENDBUFintMaximum number of messages (0-8192) to buffer when sending messages.
NNG_OPT_SENDTIMEOnng_durationDefault timeout (ms) for sending messages.
-- cgit v1.2.3-70-g09d2