• ⲇⲅⲇ@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        11 months ago

        Yeah, that would make sense as opening TCP connections is not really viable for low latency, hahaha.

        • Atemu@lemmy.ml
          link
          fedilink
          arrow-up
          0
          ·
          11 months ago

          Depends. There was that one F2P COD clone which used TCP and IIRC it did fine?

          • icydefiance@lemm.ee
            link
            fedilink
            arrow-up
            0
            ·
            11 months ago

            If your connection is stable, the latency will more or less be the same, but TCP will consume more bandwidth because of acknowledgement packets, making it harder to keep your connection stable.

            On an unstable connection, TCP latency will skyrocket as it resends packets, while UDP will just drop those packets unless the game engine has its own way of resending them. Most engines have that, but they only do it for data that is marked as “important”. For example using an item is important, but the position of your character probably isn’t, because it’ll be updated on the next tick anyway.

        • taladar@sh.itjust.works
          link
          fedilink
          arrow-up
          0
          ·
          11 months ago

          Opening the connections is one thing but resends and stream ordering can also cause issues since they might delay the latest information reaching the user space application even if the packet for them has actually arrived just because some earlier packet has not. There can also be issues with implementations waiting for enough data to be available before sending a packet.

    • fosforus@sopuli.xyz
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      11 months ago

      Online games don’t typically have many concurrent connections, though, do they? Just the one.

      • ⲇⲅⲇ@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        11 months ago

        I’m not an expert, but I suppose as this patch is on the kernel and not on the game, this will still improve any connection your kernel needs to do, like sending telemetry of your anti-cheat engine and other apps that make TCP requests while you are playing online games.