[zeromq-dev] Simple questions

Pieter Hintjens ph at imatix.com
Sat Apr 27 12:46:25 CEST 2013


On Sat, Apr 27, 2013 at 10:11 AM, Alexey Melnichuk <mimir at newmail.ru> wrote:

> I expect this too. But is it documented behaviour or implementation detail?

It's not documented properly but IMO it does not make sense that _send
takes ownership and then the caller still has to call _close... I'll
patch the documentation so this is clear.

> And one more question.
> Do i need call zmq_msg_init before copy/move?

Yes, I guess you do.

-Pieter



More information about the zeromq-dev mailing list