diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-06-12 15:24:08 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-06-12 15:24:08 +0200 |
commit | ff93f54653d099bddfed34a342906a3546e70496 (patch) | |
tree | 36f61ed29ae8f7335ab9086aea6afaa50aeb2305 /include | |
parent | e080e3e8b620b0e7ed02c28712a0c92b08de3451 (diff) |
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 <sustrik@250bpm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/zmq.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |