Re: [protobuf] Re: serialize message to UDP socket

2023-07-12 Thread 'Adam Cozzette' via Protocol Buffers
I think in this case it would help to first make sure that you're able to successfully get the raw bytes from one side to the other over UDP (i.e. log the byte arrays on the sending side and receiving side and make sure they are the same length and are identical). This seems like the part that is

[protobuf] Re: serialize message to UDP socket

2023-07-12 Thread Adarsh Singh
I serialized my protobuff messages using the SerializedToArray() method. and send it to the server over an UDP socket. But On receiver side when I tried to parse the data, I'm not able to parse the data from the UDP socket_fd. Can someone please help me to get over this problem. with TCP