AsyncBerkeley
Asynchronous Berkeley sockets. Simple.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
io::socket::message_header Struct Reference

Represents the header of a socket message. More...

#include <io/socket/socket_message.hpp>

Public Member Functions

 operator socket_message_type () noexcept
 Converts the message header to the native socket message type.
 

Public Attributes

std::span< std::byte > msg_name
 Optional address of the sender/receiver.
 
std::span< native_buffer_type > msg_iov
 I/O vectors for scatter/gather operations.
 
std::span< std::byte > msg_control
 Ancillary data (control information).
 
int flags {}
 Flags on the received message.
 

Detailed Description

Represents the header of a socket message.

This structure holds information about a socket message, including the address, I/O vectors, and control data.


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