Hi all,
Do anyone have idea about how we can receive the proto buffer serialized
message on the receiver side via a udp socket. I am not receiving the data
while using the recvfrom and any other method as well. if any one has an
example please share it.
thank you,
adarsh singh
On Saturday,
Hi all,
Do anyone have idea about how we can receive the proto buffer serialized
message on the receiver side. I am not receiving the data while using the
recvfrom and any other method as well. if any one has an example please
share it.
thank you,
adarsh singh
On Saturday, 19 September 2009
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
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
Doesn't the UDP packet header effectively provide that length prefix for
you?
--Chris
On Fri, Sep 18, 2009 at 12:26 PM, jayt0...@gmail.com jayt0...@gmail.comwrote:
One other thing I wanted to say was that I chose to use
CodedOutputStream to send
data because ultimately I have to manually
Hello all,
I am having trouble figuring out how to serialize data over a socket
utilizing UDP protocol. I am in C++ environment. When writing to the
socket without protocol buffers, I use the standard sendto() socket
call which allows me to specify the port and IP address of the
intended
One other thing I wanted to say was that I chose to use
CodedOutputStream to send
data because ultimately I have to manually encode a length prefix in
front of my PB message.
With the C++ environment, I understand that this is the only way to do
this (ugh is right; I am sure this is a common