On Wed, Aug 1, 2012 at 10:10 AM, Andrew Hume <[email protected]> wrote:

> what is exactly the status of src after calling this function?
> the manual page says it becomes an empty message, whatever that is.
> do i need to call zmq_msg_close(src)?
> is it the same as calling zmq_msg_init(src)?

zmq_msg_init says it creates an empty message, i.e. a message of size
zero, so that seems consistent.

It's unclear whether you need to call zmq_msg_close on an empty
message. The reference manual doesn't discuss this. One would assume
it's not needed, but that may be dependent on how messages are
implemented.

-Pieter
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to