1
0
forked from 0ad/0ad
0ad/source/network/scripting
wraitii d078df0b85 Get the public IP from the lobby if not using STUN.
Follow-up to 1a8de6d2b8. This makes it again possible to host without
STUN via the lobby.
The lobby bot will answer the host "Register" command with the external
IP. This is only sent to the host, avoiding IP leakage.

There is a small window in which a client might try to join and the
public IP isn't up, and the request goes through, but that seems rather
unlikely to be a problem in practice.

Refs #5913

Differential Revision: https://code.wildfiregames.com/D3490
This was SVN commit r24858.
2021-02-08 15:47:34 +00:00
..
JSInterface_Network.cpp Get the public IP from the lobby if not using STUN. 2021-02-08 15:47:34 +00:00
JSInterface_Network.h Hide ip and port from users until they want to join, add optional password 2021-01-20 18:31:39 +00:00