summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-07-21 18:54:27 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-07-21 18:54:27 +0200
commita1e09facb2438f6487b32cdcfff21f0ece735460 (patch)
treefebb8297a36455286d412596af0696c26aadc129 /doc
parent72a793f78ae6c7b544d4c19530c01e8dfd23ccf5 (diff)
ROUTER socket reports error when message cannot be routed
Till now, message was silently dropped if it was sent to a non-existent peer. Now, ECANTROUTE error is returned. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/zmq_send.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/zmq_send.txt b/doc/zmq_send.txt
index 2b51953..c631113 100644
--- a/doc/zmq_send.txt
+++ b/doc/zmq_send.txt
@@ -79,6 +79,9 @@ The provided 'socket' was invalid.
*EINTR*::
The operation was interrupted by delivery of a signal before the message was
sent.
+*ECANTROUTE*::
+Message cannot be routed to the destination specified as the peer is either
+dead or disconnected. This error makes sense only with ZMQ_ROUTER socket.
EXAMPLE