[protobuf] Re: sending a message over TCP from a C++ client to a Java server

2012-03-02 Thread Robert Abadi
Paul mjpablo23 at gmail.com writes: ok thanks a lot! I ended up finding that my TCP send function was not set up correctly. Once that was fixed, it worked fine. Thanks! On Oct 13, 2:20 pm, Evan Jones ev...@mit.edu wrote: On Oct 13, 2010, at 16:49 , Paul wrote: Thanks for the

[protobuf] Re: sending a message over TCP from a C++ client to a Java server

2010-10-13 Thread Paul
Thanks for the suggestion. However, I am already prepending the message size on the C++ side in the line: coded_output-WriteVarint64(snap1.ByteSize()); is there anything else that stands out to you? thanks for any further help. On Oct 13, 12:56 pm, Evan Jones ev...@mit.edu wrote: On Oct 13,

Re: [protobuf] Re: sending a message over TCP from a C++ client to a Java server

2010-10-13 Thread Evan Jones
On Oct 13, 2010, at 16:49 , Paul wrote: Thanks for the suggestion. However, I am already prepending the message size on the C++ side in the line: coded_output-WriteVarint64(snap1.ByteSize()); You may want to verify that the exact bytes that come out of msg.SerializeToString (or related) are

[protobuf] Re: sending a message over TCP from a C++ client to a Java server

2010-10-13 Thread Paul
ok thanks a lot! I ended up finding that my TCP send function was not set up correctly. Once that was fixed, it worked fine. Thanks! On Oct 13, 2:20 pm, Evan Jones ev...@mit.edu wrote: On Oct 13, 2010, at 16:49 , Paul wrote: Thanks for the suggestion.  However, I am already prepending the