[zeromq-dev] Zero-copy message API
Martin Sustrik
sustrik at 250bpm.com
Sun Apr 3 17:34:10 CEST 2011
On 04/03/2011 11:51 AM, Pieter Hintjens wrote:
> zmq_msg_t msg;
> zmq_msg_init (&msg, 0); // instead of zmq_msg_init (&msg);
> zmq_recvmsg (s,&msg, 0);
>
> It does make receiving a message slightly weird, but it gives a single
> 'normal' init method, which is worth a lot IMO.
I am not against. The less functions the better. Let's see what others say.
Martin
More information about the zeromq-dev
mailing list