|
OpenTTD Source 20260311-master-g511d3794ce
|
IPv4 addresses should be 4 bytes. More...
#include <os_abstraction.h>
Public Member Functions | |
| ssize_t | operator() (std::span< const uint8_t > buffer) |
| Write the buffer to the socket. | |
Data Fields | |
| SOCKET | sock |
| The socket we're sending data to. | |
IPv4 addresses should be 4 bytes.
IPv6 addresses should be 16 bytes. Helper for Packet::TransferOut that writes data to a socket.
Definition at line 141 of file os_abstraction.h.
|
inline |
Write the buffer to the socket.
| buffer | The buffer to write. |
Definition at line 149 of file os_abstraction.h.
| SOCKET SocketSender::sock |
The socket we're sending data to.
Definition at line 142 of file os_abstraction.h.