diff options
author | Patric Stout <truebrain@openttd.org> | 2021-07-11 12:08:03 +0200 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2021-07-11 20:38:42 +0200 |
commit | 1baec41542780cf4fc898df7d2fc9925d823fb44 (patch) | |
tree | 57aa8bc38997fc9d39a4ae66af7b912712e1830e /src/lang | |
parent | cee8174d02e38542548fc74de93450cfebefaa91 (diff) | |
download | openttd-1baec41542780cf4fc898df7d2fc9925d823fb44.tar.xz |
Change: groundwork to allow ServerAddress to use invite codes
Normally TCPConnecter will do a DNS resolving of the connection_string
and connect to it. But for SERVER_ADDRESS_INVITE_CODE this is different:
the Game Coordinator does the "resolving".
This means we need to allow TCPConnecter to not setup a connection
and allow it to be told when a connection has been setup by an external
(to TCPConnecter) part of the code. We do this by telling the (active)
socket for the connection.
This means the rest of the code doesn't need to know the TCPConnecter
is not doing a simple resolve+connect. The rest of the code only
cares the connection is established; not how it was established.
Diffstat (limited to 'src/lang')
0 files changed, 0 insertions, 0 deletions