On Thu, Jan 19, 2012 at 1:52 AM, Martin Sustrik <[email protected]> wrote: > > > Taking backward compatibility into account, I would propose following API: > > int filter = ZMQ_FILTER_EXACT; > zmq_setsockopt (s, ZMQ_FILTER, &filter, sizeof (filter)); > zmq_setsockopt (s, ZMQ_SUBSCRIBE, "ABC", 3); > > The default value for ZMQ_FILTER option would be ZMQ_FILTER_PREFIX. > > Thoughts? > Martin >
Would changing ZMQ_FILTER affect only new subscriptions or would it apply retroactively for old subscriptions as well? /S
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
