Particularly, I am using the SerializeToFileDescriptor() function to send the serialized data over a socket interface. The problem is that the data does not get sent before I explicitly close the socket using close(fileDescriptor). I even tried letting the google protocol buffer object go out of scope (hoping the destructor would be called, and hence flushing of the data). I am sending large amounts of data (around 1MB). I did not face this problem while sending smaller amount of data.
Isn't there any way I can force flushing of data without destroying the google protocol buffer object? -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
