aboutsummaryrefslogtreecommitdiff
path: root/docs/man/nng_options.5.adoc
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2020-06-18 19:19:06 -0700
committerGarrett D'Amore <garrett@damore.org>2020-06-18 19:19:06 -0700
commitdbc61a5038cacc516a49d00a59a669e2617cff51 (patch)
tree2b63b03499af29eff7b9c76e352366223ddee1ce /docs/man/nng_options.5.adoc
parent2236819226e579058d9f9fd67f3d684630a40634 (diff)
downloadnng-dbc61a5038cacc516a49d00a59a669e2617cff51.tar.gz
nng-dbc61a5038cacc516a49d00a59a669e2617cff51.tar.bz2
nng-dbc61a5038cacc516a49d00a59a669e2617cff51.zip
Language cleanups in the documentation.
Mostly this is removal of the smart quotes, which were over-used, and misused, and could have been mistaken to be pejorative. A few other minor nits were fixed while here.
Diffstat (limited to 'docs/man/nng_options.5.adoc')
-rw-r--r--docs/man/nng_options.5.adoc12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/man/nng_options.5.adoc b/docs/man/nng_options.5.adoc
index 915096ec..aea8c6ff 100644
--- a/docs/man/nng_options.5.adoc
+++ b/docs/man/nng_options.5.adoc
@@ -98,15 +98,15 @@ choose a random ephemeral port instead.
(((raw mode)))
(((cooked mode)))
(`bool`)
-This read-only option indicates whether the socket is in "`raw`" mode.
-If `true`, the socket is in "`raw`" mode, and if `false` the socket is
-in "`cooked`" mode.
+This read-only option indicates whether the socket is in raw mode.
+If `true`, the socket is in raw mode, and if `false` the socket is
+in normal mode.
+
Raw mode sockets generally do not have any protocol-specific semantics applied
to them; instead the application is expected to perform such semantics itself.
-(For example, in "`cooked`" mode a xref:nng_rep.7.adoc[_rep_] socket would
+(For example, in normal mode a xref:nng_rep.7.adoc[_rep_] socket would
automatically copy message headers from a received message to the corresponding
-reply, whereas in "`raw`" mode this is not done.)
+reply, whereas in raw mode this is not done.)
See xref:nng.7.adoc#raw_mode[Raw Mode] for more details.
[[NNG_OPT_RECONNMINT]]
@@ -284,7 +284,7 @@ in the library itself.
((`NNG_OPT_MAXTTL`))::
(`int`)
(((time-to-live)))
-This is the maximum number of "`hops`" a message may traverse across
+This is the maximum number of times a message may traverse across
a xref:nng_device.3.adoc[`nng_device()`] forwarders.
The intention here is to prevent ((forwarding loops)) in device chains.
When this is supported, it can have a value between 1 and 255, inclusive.