On 01/15/2012 05:53 PM, Marten Feldtmann wrote: > I had asked the same question some days agon on this list, while working > on a VASmalltalk binding for this library. > > It should be made clearer in the documentation, that one may reuse the > structure after the application thread has closed it.
Yes. zmq_msg_t is basically a handle. There's no much point allocating it on the heap. Normally you just keep it on stack. Once it is closed, it can be re-initialised. If you have an idea how to fix the docs, feel free to suggest a patch. Martin _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
