[zeromq-dev] zmq_msg_data changes data size
mlibucha at gmail.com
Tue Oct 18 17:25:31 CEST 2011
I'm using the latest stable zmq (v2.1.10) and Java bindings. My client is
Java and server is C. This code in the server:
msgText = (const char *) zmq_msg_data(&zmq_request);
2011-10-17 17:45:18,903 size=2808
2011-10-17 17:45:18,903 size=2809
The payload is JSON, but it's invalid when I run it through a parser.
Every so often the payload comes through correctly and the JSON gets parsed.
(The JSON is a static string in the Java code -- not changing.)
Any hints as how to proceed?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the zeromq-dev