From bc4a1ce3345f4e5904e4b13c618f90def21256a5 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 24 Mar 2011 16:47:33 +0100 Subject: ZMQ_HWM split into ZMQ_SNDHWM and ZMQ_RCVHWM These new options allow to control the maximum size of the inbound and outbound message pipe separately. Signed-off-by: Martin Sustrik --- include/zmq.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/zmq.h') diff --git a/include/zmq.h b/include/zmq.h index 27aeb29..4c37c03 100644 --- a/include/zmq.h +++ b/include/zmq.h @@ -183,7 +183,6 @@ ZMQ_EXPORT int zmq_term (void *context); #define ZMQ_XSUB 10 /* Socket options. */ -#define ZMQ_HWM 1 #define ZMQ_AFFINITY 4 #define ZMQ_IDENTITY 5 #define ZMQ_SUBSCRIBE 6 @@ -201,6 +200,8 @@ ZMQ_EXPORT int zmq_term (void *context); #define ZMQ_BACKLOG 19 #define ZMQ_RECONNECT_IVL_MAX 21 #define ZMQ_MAXMSGSIZE 22 +#define ZMQ_SNDHWM 23 +#define ZMQ_RCVHWM 24 /* Send/recv options. */ #define ZMQ_NOBLOCK 1 -- cgit v1.2.3