sourencho / ungroup_game

A multiplayer game about temporary alliances written with a custom engine in C++ and SFML
14 stars 1 forks source link

No NAT traversal support #155

Closed copacetic closed 4 years ago

copacetic commented 4 years ago

Client's do not initiate UDP requests to the server and don't switch from the not_started game state to the playing game state until they receive a UDP update from the server. However, since they do not initiate the requests, if the client is behind a NAT (most are), then the NAT won't know how to route the incoming server UDP data to the correct client. This means the client never starts the game.