Sorry, I think I wrote something wrong. I set option_len this way: int len = 1; zmq_setsockopt(subscriber, ZMQ_CONFLATE, &len, sizeof(int));
Regards, Barbara ________________________________________ Von: [email protected] [[email protected]]" im Auftrag von "Matthias Kluwe [[email protected]] Gesendet: Mittwoch, 20. August 2014 19:37 An: ZeroMQ development list Betreff: Re: [zeromq-dev] Problems with pub/sub and ZMQ_CONFLATE flag Hi! 2014-08-20 11:55 GMT+02:00 Konz, Barbara <[email protected]>: > a few days ago I started with zmq and so far most tests I did turned out > really fine. > > I need a pub/sub environment where my subscribers only receive the most > recent message. Therefore, I set ZMQ_CONLFATE with option_len = 1 Hmm, you really did set option_len = 1? The call to zmq_setsockopt expects option_len to be "the size of the option value in bytes". The option value type of ZMQ_CONFLATE is int, so 1 is (most probably) not correct... Regards, Matthias _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
