On Tue, 2018-01-16 at 13:14 +0000, Ravi Joshi via zeromq-dev wrote: > Hi, > > Hope you are having a good time. > > I want to drop the old messages and just keep the recent (i.e., > latest) message in the queue, to make the transmission real-time. > Hence I am using 'conflate' option in ZeroMQ. However, I am not sure > if the configuration is written properly or not. > > (1) The publisher is written in C#. Please see the code snippet here > https://pastebin.com/2m1chnKd > (2) The subscriber is written in C++. Please see the code snippet > here https://pastebin.com/dMT00sUG > > Apologies for putting PasteBin's URL since I wanted to keep the > message short and clean. Thank you very much.
As the zmq_setsockopt manpage states, you need to set the option before bind/connect. -- 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
