mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 12:39:11 +00:00
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.
This commit is contained in:
committed by
Patric Stout
parent
8a36134003
commit
fa1e27994d
@@ -128,4 +128,13 @@ enum NetworkCompanyPasswordWidgets {
|
||||
WID_NCP_OK, ///< Safe the password etc.
|
||||
};
|
||||
|
||||
/** Widgets of the #NetworkAskRelayWindow class. */
|
||||
enum NetworkAskRelayWidgets {
|
||||
WID_NAR_CAPTION, ///< Caption of the window.
|
||||
WID_NAR_TEXT, ///< Text in the window.
|
||||
WID_NAR_NO, ///< "No" button.
|
||||
WID_NAR_YES_ONCE, ///< "Yes, once" button.
|
||||
WID_NAR_YES_ALWAYS, ///< "Yes, always" button.
|
||||
};
|
||||
|
||||
#endif /* WIDGETS_NETWORK_WIDGET_H */
|
||||
|
Reference in New Issue
Block a user