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

OpenTTD

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

Data Structures | Typedefs
address.h File Reference

Wrapper for network addresses. More...

`#include "os_abstraction.h"`
`#include "config.h"`
`#include "../../string_func.h"`
`#include "../../core/smallmap_type.hpp"`

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 SmallVector < NetworkAddress, 4 > | NetworkAddressList
| Type for a list of addresses.
typedef SmallMap < NetworkAddress, SOCKET, 4 > | SocketList
| Type for a mapping between address and socket.

## Detailed Description

Wrapper for network addresses.

Definition in file address.h.