On 03/06/2011 05:12 PM, Han Holl wrote:

>          zmq::message_t reply (3);
>          memcpy ((void *) reply.data (), "OK", 2);
>          socket.send (reply);

It's definitely an error. The third byte is un-initialiased, so it's not 
even guaranteed to be zero.

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

Reply via email to