OpenTTD Source: SocketSender Struct Reference

OpenTTD Source 15.3

Public Member Functions | Data Fields
SocketSender Struct Reference

IPv4 addresses should be 4 bytes. More...

`#include <os_abstraction.h>`

## Public Member Functions
ssize_t | operator() (std::span< const uint8_t > buffer)

## Data Fields
SOCKET | sock

## Detailed Description

IPv4 addresses should be 4 bytes.

IPv6 addresses should be 16 bytes.

Definition at line 144 of file os_abstraction.h.

## Member Function Documentation

## ◆ operator()()

ssize_t SocketSender::operator() | ( | std::span< const uint8_t > | buffer | ) |
| inline

Definition at line 147 of file os_abstraction.h.

## Field Documentation

## ◆ sock

SOCKET SocketSender::sock

Definition at line 145 of file os_abstraction.h.

The documentation for this struct was generated from the following file:

- src/network/core/os_abstraction.h