[zeromq-dev] Zero-copy message API

Pieter Hintjens ph at imatix.com
Mon Apr 4 20:27:07 CEST 2011


On Mon, Apr 4, 2011 at 8:23 PM, Martin Pales <m.pales at gmail.com> wrote:

> TBH, attach sounds like I could call it multiple times to add several
> "attachments". It's similar to "add". What about a simple zmq_msg_set_data()
> or zmq_msg_set_buffer() ?

Indeed.

> Or just to have one function(zmq_msg_create or zmq_msg_init) with 3
> different signatures:

Not possible in C99, which is the language of the API.

-Pieter



More information about the zeromq-dev mailing list