Best way is to destroy the current socket and re-create.
You can also make a pull request to add this ability.
On Fri, Jan 4, 2019, 21:28 Hi,
>
> Let's say I've made several subscriptions using zmq_setsockopt(sock,
> ZMQ_SUBSCRIBE, ...) and later I want to remove all these subscriptions.
>
> I know I can remove each subscription by successively invoking
> zmq_setsockopt(sock, ZMQ_UNSUBSCRIBE, ...), but I was just wondering if
> there was a quick way to remove all subscriptions with one zmq call?
>
> Thanks,
> Martin
>
> ___
> zeromq-dev mailing list
> zeromq-dev@lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev