Protobuf messages do not have inherent delimiters; in fact, the
concatenation of two messages can sometimes be a perfectly valid single
message. Add delimiters in your protocol (if you are only sending a single
message then just shutdown() the socket afterwards and have the recipient
read until EOF; otherwise, send the length of the message in front of the
On Sep 12, 2012 8:37 AM, "iz" <izfo...@gmail.com> wrote:
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to
For more options, visit this group at