[zeromq-dev] Unsubscribe from all topics

Pieter Hintjens ph at imatix.com
Tue May 31 15:14:37 CEST 2016


Yes, simplest is to destroy the socket and create a new one.

On Tue, May 31, 2016 at 2:25 PM, Aaron Sokoloski <asokoloski at gmail.com> wrote:
> Create an entirely new socket, maybe?  In what situation do you want to
> unsubscribe from everything?
>
> On 31 May 2016 at 06:45, Bachmair Florian - flexSolution GmbH
> <florian.bachmair at flexsolution.eu> wrote:
>>
>> hi!
>>
>>
>> is there an option to unsubscribe from ALL topics?
>>
>> I have found
>>
>> void zsocket_set_unsubscribe (void *zocket, char * unsubscribe);
>>
>>
>> Is the only option to save all topics and then unsubscribe from each of
>> them?
>> Therefore I would have to save the topics(what I currently don't)
>>
>>
>> Or is there another way without saving the topics?
>>
>> Thanks, Florian
>>
>>
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev



More information about the zeromq-dev mailing list