[email protected] said: > Okay, I like the API bug approach. > > How about two flavors of ZMQ_SUBS > > ZMQ_SUBS_ALL - subscription socket, subscribed to "" ab > initio > ZMQ_SUBS_NONE - subscription socket, no subscriptions ab initio > > and deprecate ZMQ_SUBS by > > #define ZMQ_SUBS ZMQ_SUBS_ALL > > ?
Two sockets with different defaults? Not pretty :-( I thought some more about just having the default be "" on a SUB socket, but that's not nice either since in that case what would a subsequent ZMQ_SUBSCRIBE "foo" logically do? "Subscribing to only foo" does not seem to fit well with the default. -mato _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
