Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Question about the order of reliable messages #53
It’s said in the documentation of the ReceiveMessages in connection and socket that it’s guaranteed that the messages will be received in the order they’re sent, but, is that still the case if retransmissions occurs?
Imagine this scenario:
Server send clients A, B, C
Client receives A and C but not B because it needed to be retransmited
Will the lib hold the messages till B comes or will it deliver A C B?
Sorry, just now saw this.
Yes, reliable messages guarantee delivery order (with respect to other reliable messages). Basically it is a TCP stream, but where the boundary between messages is relevant.
The order of delivery regarding unreliable messages is not guaranteed, with respect to either other unreliable messages, or reliable messages.