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 <[email protected] wrote:

> 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
> [email protected]
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
_______________________________________________
zeromq-dev mailing list
[email protected]
https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to