• MooseBoys@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    not many games use UDP for their transport

    Citation Needed

    I have never heard of a latency-sensitive game that doesn’t use UDP for inner loop communication. Sure they use TCP for login and server browser, but the actual communication for gameplay almost always uses UDP.

      • MooseBoys@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Minecraft and Terraria use both TCP and UDP, presumably in the way I described (TCP for initial connection, asset download, etc. and UDP for world state sync). Factorio uses UDP exclusively, and implements reliable transport where needed in software.

        • uis@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 year ago

          Oops, Factorio moved to UDP.

          Can’t find any UDP implementation or even UDP protocol description for Terraria, while there are implementations of Terraria protocol that use TCP and documentation for it. Basically no evidence of UDP and a lot of evidence of TCP for gameplay.

          Minecraft uses only TCP. Sources: wiki.vg, myself, myself and friend of mine and myself again(no link for now, but two minecraft proxy server implementations)