Prevent TCP connections from causing UDP packet loss

前端 未结 3 911
感动是毒
感动是毒 2021-01-23 18:47

Consider the prototypical multiplayer game server.

Clients connecting to the server are allowed to download maps and scripts. It is straightforward to create a TCP conn

3条回答
  •  攒了一身酷
    2021-01-23 19:11

    "# If you're worried about losing UDP packets, you should consider not using UDP."

    Right on. UDP means no guarentee of packet delivery, especially over the internet. Check the TCP speed which is quite acceptable in modern day internet connections for most users playing games.

提交回复
热议问题