[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zeromq-dev
Subject:    Re: [zeromq-dev] Unsubscribe from all topics
From:       Pieter Hintjens <ph () imatix ! com>
Date:       2016-05-31 13:14:37
Message-ID: CADL5_sifkp6AR9wLGtpQ7bhKO-RC_a3zpHmbCQKNCoR4_44DnA () mail ! gmail ! com
[Download RAW message or body]

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

On Tue, May 31, 2016 at 2:25 PM, Aaron Sokoloski <asokoloski@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@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@lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev@lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic