summaryrefslogtreecommitdiff
path: root/doc/xs_recv.txt
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-05-20 08:17:42 +0200
committerMartin Sustrik <sustrik@250bpm.com>2012-05-21 12:17:59 +0200
commit338a8a0ee13388aceafa3d8b6d8add3b79e95986 (patch)
tree6bb8fb957c3247e43c536bdd678a61bf59a12a02 /doc/xs_recv.txt
parentc4881d317e3ec5b02d1e354fb54a56dc0618b717 (diff)
Expired survey returns ETIMEDOUT instead of EAGAIN
Up to now, when survey in surveyor pattern expired, xs_recv() returned EAGAIN. That made it impossible to distinguish epired survey from expired receive timeout (XS_RCVTIMEO). This patch make errors different in both cases. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'doc/xs_recv.txt')
-rw-r--r--doc/xs_recv.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/xs_recv.txt b/doc/xs_recv.txt
index 5706432..484c317 100644
--- a/doc/xs_recv.txt
+++ b/doc/xs_recv.txt
@@ -65,6 +65,8 @@ The provided 'socket' was invalid.
*EINTR*::
The operation was interrupted by delivery of a signal before a message was
available.
+*ETIMEDOUT*::
+Survey has timed out. (Applicable only to XS_SURVEYOR socket.)
EXAMPLE