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

2010-10-13 Thread Paul
Hi, I am new to protocol buffers, and I am trying to send a protocol buffers message over TCP from a client computer running C++ to a server computer running Java. Both computers are 64 bit. On the server side (in Java), I open a ServerSocket on a port, and get a Socket after accepting the

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

2010-10-13 Thread Evan Jones
On Oct 13, 2010, at 15:13 , Paul wrote: On the client side (in C++), I open a TCP socket connection on the same port with the server's IP address. I serialize the message using SerializeToCodedStream into an array using ArrayOutputStream. After serializing it, I send it over the TCP connection