summaryrefslogtreecommitdiff
path: root/doc/nn_setsockopt.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/nn_setsockopt.adoc')
-rw-r--r--doc/nn_setsockopt.adoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/nn_setsockopt.adoc b/doc/nn_setsockopt.adoc
index 5deb41e..3e8aff6 100644
--- a/doc/nn_setsockopt.adoc
+++ b/doc/nn_setsockopt.adoc
@@ -85,7 +85,7 @@ _<nanomsg/nn.h>_ header defines generic socket-level options
Socket name for error reporting and statistics. The type of the option
is string. Default value is "socket.N" where N is socket integer.
*This option is experimental, see <<nn_env#,nn_env(7)>> for details*
-*NN_TTL*::
+*NN_MAXTTL*::
Sets the maximum number of "hops" a message can go through before
it is dropped. Each time the message is received (for example via
the <<nn_device#,nn_device(3)>> function) counts as a single hop.