From 2bd762d472334c6cd612ff0c57bb87718254ff8c Mon Sep 17 00:00:00 2001 From: gdamore Date: Thu, 2 Jan 2025 15:50:13 +0000 Subject: deploy: 288c9bf6dfc333b5a4d894b24e54e4fb3da34d51 --- ref/print.html | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'ref/print.html') diff --git a/ref/print.html b/ref/print.html index fdd97505..c3fe92e9 100644 --- a/ref/print.html +++ b/ref/print.html @@ -1418,13 +1418,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.
@@ -6543,13 +6543,11 @@ be specified as udp://[::1]:8001.

The special value of 0 (INADDR_ANY) can be used for a listener to indicate that it should listen on all interfaces on the host. -A short-hand for this form is to either omit the address, or specify -the asterisk (*) character. -For example, the following three URIs are all equivalent, +A short-hand for this form is to omit the IP address entirely. +For example, the following two URIs are equivalent, and could be used to listen to port 9999 on the host:

  1. udp://0.0.0.0:9999
  2. -
  3. udp://*:9999
  4. udp://:9999

Socket Address

-- cgit v1.2.3-70-g09d2