On Tue, Sep 28, 2010 at 12:03 PM, MinRK <[email protected]> wrote:

> You said that zmq_msg_copy doesn't create a resendable copy?
> I'm not sure exactly what you mean, but you can definitely (I do) send a
> message twice if you do zmq_msg_copy. Here's what I learned: you must send
> the *copy* first, because if you send the original first, it can clear the
> buffer before the copy asks for the data, but sending the copy first is
> safe.

That seems to rely on totally undocumented behavior.  Actually I've no
idea what zmq_msg_copy is for...  Martin, can you enlighten us?

-
Pieter Hintjens
iMatix - www.imatix.com
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to