summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Rybalchenko <alexryba@gmail.com>2017-05-11 18:26:22 +0200
committerGarrett D'Amore <garrett@damore.org>2017-05-11 06:26:22 -1000
commit5cc0074524684797dd5cd9067bbccbefe1513996 (patch)
treebecaf3bb449151648e56d9c6ac805f35a1d05e08
parentc1f8ec1758a95a54495905ed7491af6072d485dc (diff)
downloadnanomsg-5cc0074524684797dd5cd9067bbccbefe1513996.tar.gz
Fix nn_getsockopt() docs: EAGAIN -> ETIMEDOUT (#867)
-rw-r--r--doc/nn_getsockopt.adoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/nn_getsockopt.adoc b/doc/nn_getsockopt.adoc
index c1a7c47..95409ed 100644
--- a/doc/nn_getsockopt.adoc
+++ b/doc/nn_getsockopt.adoc
@@ -53,12 +53,12 @@ _<nanomsg/nn.h>_ header defines generic socket-level options
type of this option is int. Default is 1024kB.
*NN_SNDTIMEO*::
The timeout for send operation on the socket, in milliseconds. If message
- cannot be sent within the specified timeout, EAGAIN error is returned.
+ cannot be sent within the specified timeout, ETIMEDOUT error is returned.
Negative value means infinite timeout. The type of the option is int.
Default value is -1.
*NN_RCVTIMEO*::
The timeout for recv operation on the socket, in milliseconds. If message
- cannot be received within the specified timeout, EAGAIN error is returned.
+ cannot be received within the specified timeout, ETIMEDOUT error is returned.
Negative value means infinite timeout. The type of the option is int.
Default value is -1.
*NN_RECONNECT_IVL*::