From cfb0073717e72518254b7fd6dfccb95ba35452e6 Mon Sep 17 00:00:00 2001 From: Andrij Abyzov Date: Wed, 8 Jun 2022 16:04:42 +0200 Subject: [PATCH] Add support for ZMQ_ONLY_FIRST_SUBSCRIBE option --- zmq.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zmq.hpp b/zmq.hpp index f7e63ab..0f9bca9 100644 --- a/zmq.hpp +++ b/zmq.hpp @@ -1550,6 +1550,9 @@ ZMQ_DEFINE_INTEGRAL_BOOL_UNIT_OPT(ZMQ_MULTICAST_LOOP, multicast_loop, int); #ifdef ZMQ_MULTICAST_MAXTPDU ZMQ_DEFINE_INTEGRAL_OPT(ZMQ_MULTICAST_MAXTPDU, multicast_maxtpdu, int); #endif +#ifdef ZMQ_ONLY_FIRST_SUBSCRIBE +ZMQ_DEFINE_INTEGRAL_BOOL_UNIT_OPT(ZMQ_ONLY_FIRST_SUBSCRIBE, only_first_subscribe, int); +#endif #ifdef ZMQ_PLAIN_SERVER ZMQ_DEFINE_INTEGRAL_BOOL_UNIT_OPT(ZMQ_PLAIN_SERVER, plain_server, int); #endif