Hi folks,
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:
printf("size=%d\n",zmq_msg_size(&zmq_request));
msgText = (const char *) zmq_msg_data(&zmq_request);
printf("size=%d\n",strlen(msgText));
prints this:
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?
Thanks,
Mark
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev