|
OpenTTD Source 20260621-master-g720d10536d
|
Wrapper for network addresses. More...
#include "os_abstraction.h"#include "config.h"#include "../../company_type.h"#include "../../string_func.h"Go to the source code of this file.
Data Structures | |
| class | NetworkAddress |
| Wrapper for (un)resolved network addresses; there's no reason to transform a numeric IP to a string and then back again to pass it to functions. More... | |
| class | ServerAddress |
| Address to a game server. More... | |
Typedefs | |
| typedef std::vector< NetworkAddress > | NetworkAddressList |
| Type for a list of addresses. | |
| using | SocketList = std::map<SOCKET, NetworkAddress> |
| Type for a mapping between address and socket. | |
Enumerations | |
| enum class | ServerAddressType : uint8_t { Direct , InviteCode } |
| Types of server addresses we know. More... | |
Wrapper for network addresses.
Definition in file address.h.
| typedef std::vector<NetworkAddress> NetworkAddressList |
| using SocketList = std::map<SOCKET, NetworkAddress> |
|
strong |