[protobuf] Using CodedOutputStream to send many messages across network

2015-03-18 Thread Sayan Goswami
Hi All, I am using CodedOutputStream and CodedInputStream to transfer messages across a network like so: *Client requests:* Socket serverSocket = new Socket(hosts, ports); CodedOutputStream outputStream = CodedOutputStream.newInstance(serverSocket .getOutputStream()); outputStream.flush();

Re: [protobuf] Using CodedOutputStream to send many messages across network

2015-03-18 Thread Ilia Mirkin
On Tue, Mar 17, 2015 at 10:15 PM, Sayan Goswami sayan.n...@gmail.com wrote: Hi All, I am using CodedOutputStream and CodedInputStream to transfer messages across a network like so: Client requests: Socket serverSocket = new Socket(hosts, ports); CodedOutputStream outputStream =

Re: [protobuf] Using CodedOutputStream to send many messages across network

2015-03-18 Thread 'Feng Xiao' via Protocol Buffers
On Tue, Mar 17, 2015 at 7:15 PM, Sayan Goswami sayan.n...@gmail.com wrote: Hi All, I am using CodedOutputStream and CodedInputStream to transfer messages across a network like so: *Client requests:* Socket serverSocket = new Socket(hosts, ports); CodedOutputStream outputStream =