ZmqException if $(ZMQ) reports an error.
$(ZMQREF zmq_msg_setsockopt()) with ZMQ_SUBSCRIBE.
// Subscribe to messages that start with "foo" or "bar". auto sck = Socket(SocketType.sub); sck.subscribe("foo"); sck.subscribe("bar"); // ... // From now on, only accept messages that start with "bar" sck.unsubscribe("foo");
Removes a message filter.