[zeromq-dev] Newbie Bait Request: Debug "Warning" mechanism.

Martin Lucina mato at kotelna.sk
Tue Aug 17 19:40:16 CEST 2010

mattweinstein at gmail.com 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
> ?

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.


More information about the zeromq-dev mailing list