[protobuf] Re: Sending Protocol buffer messages over socket connection.

2013-02-26 Thread Pradeep Rathnayaka
Thanks On Tuesday, February 26, 2013 3:24:29 PM UTC+8, Pradeep Rathnayaka wrote: > > I newbie to protocol buffers, I am currently working on a new java > client/server standalone application. The system transfers messages > between client and server where the process should be happened over a

Re: [protobuf] Re: Sending Protocol buffer messages over socket connection.

2013-02-26 Thread Feng Xiao
On Tue, Feb 26, 2013 at 3:50 PM, Pradeep Rathnayaka < pradeepkrathnay...@gmail.com> wrote: > It looks like below, > > client's messages are organised as below and sending them in following > order. > <---TP header + CS header + (PB messages)<--- > > TP header consits with 6fields - 30bytes > > CS

[protobuf] Re: Sending Protocol buffer messages over socket connection.

2013-02-25 Thread Pradeep Rathnayaka
It looks like below, client's messages are organised as below and sending them in following order. <---TP header + CS header + (PB messages)<--- TP header consits with 6fields - 30bytes CS header with 2fields - 4bytes PB message message ReplyData { enum ErrorCodeType { UNSPECIFIE