[zeromq-dev] is this supposed to work?

Martin Sustrik sustrik at 250bpm.com
Fri Apr 15 07:02:38 CEST 2011


On 04/14/2011 06:52 PM, Pieter Hintjens wrote:

> To send the same message multiple times you have to copy the message
> and send each copy once.

You can use zmq_msg_copy function which "copies" the message by 
incrementing the reference count of the buffer rather than by performing 
a memory copy.

And yes, there's a line missing in zmq_send(3) describing the behaviour.

Martin



More information about the zeromq-dev mailing list