OpenTTD Source: src/network/core/address.h File Reference

OpenTTD Source 1.11.0-RC1

Data Structures | Typedefs
address.h File Reference
`#include "os_abstraction.h"`
`#include "config.h"`
`#include "../../string_func.h"`
`#include "../../core/smallmap_type.hpp"`
`#include <string>`

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...

## Typedefs
typedef std::vector< NetworkAddress > | NetworkAddressList
| Type for a list of addresses.
typedef SmallMap< NetworkAddress, SOCKET > | SocketList
| Type for a mapping between address and socket.

## Detailed Description

Wrapper for network addresses.

Definition in file address.h.