On Thu, 2017-03-09 at 17:06 +0800, LN wrote: > hi all: > > > is it possible to subscribe a new subscription request(use setsockopt > function) when receiving data from the publisher? because i want to change > the subscription when the subscirbe receiving . > > > could anyone give me some example? my code cause latency(data maybe late 1s > from publisher to subscriber) , and i don't know how to do. Thanks!!!
Hi, Yes, you can subscribe and unsubscribe at any time as the doc mentions right at the top: http://api.zeromq.org/4-2:zmq-setsockopt Kind regards, Luca Boccassi
signature.asc
Description: This is a digitally signed message part
_______________________________________________ zeromq-dev mailing list [email protected] https://lists.zeromq.org/mailman/listinfo/zeromq-dev
