From ff93f54653d099bddfed34a342906a3546e70496 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sun, 12 Jun 2011 15:24:08 +0200 Subject: ZMQ_FILTER socket option added This option is a performance tweak. In devices XSUB socket filters the messages just to send them to XPUB socket which filters them once more. Setting ZMQ_FILTER option to 0 allows to switch the filtering in XSUB socket off. 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 40dffd9..8d1d57b 100644 --- a/include/zmq.h +++ b/include/zmq.h @@ -180,6 +180,7 @@ ZMQ_EXPORT int zmq_term (void *context); #define ZMQ_SNDHWM 23 #define ZMQ_RCVHWM 24 #define ZMQ_MULTICAST_HOPS 25 +#define ZMQ_FILTER 26 /* Send/recv options. */ #define ZMQ_DONTWAIT 1 -- cgit v1.2.3