Reliable messages are also received in order?

Options
I think I found the answer here:
Reliable Reliable commands will reach the other side or lead to a timeout disconnect. They are sequenced per channel and dispatching will stall when a reliable command is temporarily missing.

I'm just not sure about the channel thing. So just to make sure: if client A sends a message 1, 2 and 3 to client B (both in the same room) in that order, can I assume that client B will also receive them in that order?

Comments

  • Kaiserludi
    Options
    You can assume that, when you send all 3 messages in the same channel. When you do not explictly specify a channel, then a message will be send in channel 0, which is the default channel. So, if you do not explictly specify a channel for any of the messages, then yes, the 3 reliable messages will be received in the order, in which you have passed them to Photon for sending.
  • Excellent, thanks.