OpenTTD Source 20260109-master-g241b5fcdfe
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 140 of file os_abstraction.h.

Member Function Documentation

◆ operator()()

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

Definition at line 143 of file os_abstraction.h.

Field Documentation

◆ sock

SOCKET SocketSender::sock

Definition at line 141 of file os_abstraction.h.


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