I'm writing a c++ client/server using sockets to communicate. What's the best way to recv the data (over several recv calls) and then deserialize it? Is it to recv to a char[] then copy that to a std::string and do ParseFromString? Is there a more direct route?
Thanks, --Murph -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To view this discussion on the web visit https://groups.google.com/d/msg/protobuf/-/gHDsHFmfv5kJ. To post to this group, send email to protobuf@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.