P2P network games/apps: Good choice for a “battle.net”-like matching server

前端 未结 6 1414
暖寄归人
暖寄归人 2021-02-06 10:56

I\'m making a network game (1v1) where in-game its p2p - no need for a game server.

However, for players to be able to \"find each other\", without the need to coordinat

6条回答
  •  一个人的身影
    2021-02-06 11:28

    First, let me say that this is well out of my realm of expertise, but I found myself very interested, so I've been doing some searching and reading.

    It seems that the most commonly prescribed solution for UDP NAT traversal is to use a STUN server. I did some quick searches to see if there are any companies that will just straight-up provide you with a STUN hosting solution, but if there even were any, they were buried in piles of ads for simple web hosting.

    Fortunately, it seems there are several STUN servers that are already up and running and free for public use. There is a list of public STUN servers at voip-info.org.

    In addition, there is plenty more information to be had if you explore SO questions tagged "nat".

提交回复
热议问题