Thanks for the info.
I did check those bits and they were set.

To complete this thread: 

I did find my problem.  In my code I allocated enough bytes in the send 
buffer for two ints (marker and size), but I was sending them as Varint32's.
I changed it to send Uint32's and things are working now.

On Monday, January 21, 2013 1:47:48 AM UTC-5, Feng Xiao wrote:
> You need to ensure that message.has_id() and message.has_type() are both 
> true before sending the message.

You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to