OpenTTD Source: SocketReceiver Struct Reference

OpenTTD Source 15.0-RC2

Public Member Functions | Data Fields
SocketReceiver Struct Reference

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

## Data Fields
SOCKET | sock

## Detailed Description

Definition at line 153 of file os_abstraction.h.

## Member Function Documentation

## ◆ operator()()

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

Definition at line 156 of file os_abstraction.h.

## Field Documentation

## ◆ sock

SOCKET SocketReceiver::sock

Definition at line 154 of file os_abstraction.h.

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

- src/network/core/os_abstraction.h