From fa1e27994dd1284f6fefbe08c47a5c4145ccf00d Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Wed, 5 May 2021 10:47:01 +0200 Subject: Feature: allow the use of TURN to connect client and server together TURN is a last resort, used only if all other methods failed. TURN is a relay approach to connect client and server together, where openttd.org (by default) is the middleman. It is very unlikely either the client or server cannot connect to the STUN server, as they are both already connected to the Game Coordinator. But in the odd case it does fail, estabilishing the connection fails without any further possibility to recover. --- src/network/network_gui.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/network/network_gui.h') diff --git a/src/network/network_gui.h b/src/network/network_gui.h index 855d7d53c..06b501cb5 100644 --- a/src/network/network_gui.h +++ b/src/network/network_gui.h @@ -39,5 +39,6 @@ struct NetworkCompanyInfo : NetworkCompanyStats { NetworkCompanyInfo *GetLobbyCompanyInfo(CompanyID company); NetworkGameList *GetLobbyGameInfo(); +void ShowNetworkAskRelay(const std::string &connection_string, const std::string &token); #endif /* NETWORK_GUI_H */ -- cgit v1.2.3-54-g00ecf