OpenTTD Source 20250520-master-gecadf1b322
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: