[zeromq-dev] Trouble sending from ROUTER to DEALER

KIU Shueng Chuan nixchuan at gmail.com
Fri Sep 19 01:50:18 CEST 2014

zmq_msg_init_size(&messageOut, sizeof id );

memcpy(zmq_msg_data(&messageOut), &id, sizeof id);

In the above 2 lines in your multipartmsg.h, replace "sizeof id" with
"id.size()" and "&id" with "id.data()".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140919/943ac2fa/attachment.htm>

More information about the zeromq-dev mailing list