summaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/zmq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/zmq.h b/include/zmq.h
index d18e4e5..2c95219 100644
--- a/include/zmq.h
+++ b/include/zmq.h
@@ -107,6 +107,7 @@ ZMQ_EXPORT void zmq_version (int *major, int *minor, int *patch);
#define ENOCOMPATPROTO (ZMQ_HAUSNUMERO + 52)
#define ETERM (ZMQ_HAUSNUMERO + 53)
#define EMTHREAD (ZMQ_HAUSNUMERO + 54)
+#define ECANTROUTE (ZMQ_HAUSNUMERO + 55)
/* This function retrieves the errno as it is known to 0MQ library. The goal */
/* of this function is to make the code 100% portable, including where 0MQ */