Xemuth Messages: 387 Registered: August 2018 Location: France
Senior Member
Quote:
Since this is going to be a simple example why don't you just send the size of the data to be transferred first?
Let the other side fetch that first, and then call Get() again with the size and timeout in 30 secs.
Indeed it is smart ! Exemple have been udpated.
Quote:
P.s: And if you are sending binary data over the network, it is in general a good practice to convert it to base64 encoding)
I think protobuff do it by himself. I will check this later