[zeromq-dev] Problems with pub/sub and ZMQ_CONFLATE flag

2014-08-20 Thread Konz, Barbara
Hello, 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 This works well for tcp and icp and several subscribers. When I

Re: [zeromq-dev] libzmq and helgrind

2014-08-20 Thread Michi Henning
On 20 Aug 2014, at 1:24 , Thomas Rodgers wrote: > Ignore the 4.1 stack smashing issue, that was a brain fart on my part... > > I ran this (again Ubuntu 14.04 gcc4.8), and this time actually changed the > len > 29 bytes (sorry it was late, I had the stupid), got the msg_t::close() > race repor

Re: [zeromq-dev] Problems with pub/sub and ZMQ_CONFLATE flag

2014-08-20 Thread Matthias Kluwe
Hi! 2014-08-20 11:55 GMT+02:00 Konz, Barbara : > 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

Re: [zeromq-dev] Problems with pub/sub and ZMQ_CONFLATE flag

2014-08-20 Thread Konz, Barbara
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: zeromq-dev-boun...@lists.zeromq.org [zeromq-dev-boun...@lists.zeromq.org]" im Auftrag vo