From a1e09facb2438f6487b32cdcfff21f0ece735460 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 21 Jul 2011 18:54:27 +0200 Subject: 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 --- include/zmq.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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 */ -- cgit v1.2.3