Sunshine master
Self-hosted game stream host for Moonlight.
platf::send_info_t Struct Reference

Destination address and payload data for one UDP send. More...

#include <src/platform/common.h>

Public Attributes

const char * header
 Optional header bytes prepended to the payload.
 
size_t header_size
 Header size in bytes.
 
std::uintptr_t native_socket
 Platform socket handle used for the send operation.
 
const char * payload
 Payload bytes to send after the header.
 
size_t payload_size
 Payload size in bytes for each packet block.
 
boost::asio::ip::address & source_address
 Local source IP address for outgoing packets.
 
boost::asio::ip::address & target_address
 Destination IP address for outgoing packets.
 
uint16_t target_port
 Destination UDP port for outgoing packets.
 

Detailed Description

Destination address and payload data for one UDP send.


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