MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Core::UDPBackend::SocketState Struct Reference

Per-bound-port socket state. More...

+ Collaboration diagram for MayaFlux::Core::UDPBackend::SocketState:

Public Member Functions

 SocketState (asio::io_context &ctx)
 

Public Attributes

uint16_t local_port {}
 
std::array< uint8_t, 65536 > recv_buffer {}
 
uint32_t ref_count {}
 
asio::ip::udp::endpoint sender_endpoint
 
asio::ip::udp::socket socket
 

Detailed Description

Per-bound-port socket state.

Multiple endpoints can share a socket (same local port, different remote targets). The socket owns the async_receive_from loop.

Definition at line 104 of file UDPBackend.hpp.


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