UDP, reliable UDP, TCP

In the documentation its noted that the underlying photon protocol is UDP but I noticed that you can also can app using TCP e.g. the example chat server. Whats up with that? Also you can have a UDP message beeing sent reliable by specifying it in the send parameters. So in case of UDP, you just block the channel and resend it until an acknoledgement comes back? And in case of TCP you probably just ignore this parameter?

It didn't bothered me during implementation but since I'm writing a thesis I have to mention that. It would be great if you could give me some information on that.

Comments

  • hi, @jingyiwang

    We do not recommend to use TCP for realtime games like FPS. it is tooo slow.
    >So in case of UDP, you just block the channe
    we do not block anything . commands are just in buffer and repeated until acknowleged.

    best,
    ilya
  • Thanks that's all I needed!