I managed to solve my problem now. I used the blah.Bytesize() function
instead of sizeof( blah.c_str() ) when sending the message size :3.
Someone should really add to documentation about Sending and Receiving
info between Server and Clients to prevent further Headaches. (Not
small ones either!)
On Tue, Nov 11, 2008 at 7:46 AM, ChJees [EMAIL PROTECTED] wrote:
I managed to solve my problem now. I used the blah.Bytesize() function
instead of sizeof( blah.c_str() ) when sending the message size :3.
Ah, yes, don't use c_str() with serialized protobufs because they may
contain zeros
I have no idea about the core C++ etc impementations - but if it
helps, protobuf-net builds for .NET CF 2.0 and .NET CF 3.5, if that is
any help. Note that there isn't an RPC stack for this yet, but I'm
working on it.
Marc
--~--~-~--~~~---~--~~
You received this