diff options
Diffstat (limited to 'docs/man/nn_setsockopt.3compat.adoc')
| -rw-r--r-- | docs/man/nn_setsockopt.3compat.adoc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/man/nn_setsockopt.3compat.adoc b/docs/man/nn_setsockopt.3compat.adoc index af4539b5..076ebec6 100644 --- a/docs/man/nn_setsockopt.3compat.adoc +++ b/docs/man/nn_setsockopt.3compat.adoc @@ -135,12 +135,17 @@ in configuring device forwarding. // NN_RCVFD is read-only. // NN_SNDFD is read-only. +The following option is available for `NN_REQ` sockets +using the `NN_REQ` level: + `NN_REQ_RESEND_IVL`:: Request retry interval in milliseconds. If an `NN_REQ` socket does not receive a reply to a request within this period of time, the socket will automatically resend the request. The default value is 60000 (one minute). +The following options are available for `NN_SUB` sockets using the `NN_SUB` level: + `NN_SUB_SUBSCRIBE`:: Subscription topic, for `NN_SUB` sockets. This sets a subscription topic. @@ -154,6 +159,9 @@ TIP: To receive all messages, subscribe to an empty topic (_sz_ equal to zero). `NN_SUB_UNSUBSCRIBE`:: Removes a subscription topic that was earlier established. +The following option is available for `NN_SURVEYOR` sockets +using the `NN_SURVEYOR` level: + `NN_SURVEYOR_DEADLINE`:: Survey deadline in milliseconds for `NN_SURVEYOR` sockets. After sending a survey message, the socket will only accept responses |
