UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UDPPing Namespace Reference

Classes

struct  FUdpPingBody
 
struct  FUdpPingHeader
 
struct  FUdpPingPacket
 

Functions

bool Pack (uint8 *OutBuf, const SIZE_T BufSize, const FUdpPingPacket &Packet)
 
bool Unpack (FUdpPingPacket &OutPacket, uint8 *const Buf, const SIZE_T BufSize)
 
bool UpdatePacketChecksum (uint8 *const PingPacketBuf, const SIZE_T BufSize, const bool ToNetworkByteOrder)
 
uint16 CalculatePacketChecksum (uint8 *const PingPacketBuf, const SIZE_T BufSize)
 

Variables

const SIZE_T PayloadSize = 4 * sizeof(uint32)
 

Function Documentation

◆ CalculatePacketChecksum()

uint16 UDPPing::CalculatePacketChecksum ( uint8 *const  PingPacketBuf,
const SIZE_T  BufSize 
)

◆ Pack()

bool UDPPing::Pack ( uint8 OutBuf,
const SIZE_T  BufSize,
const FUdpPingPacket Packet 
)

◆ Unpack()

bool UDPPing::Unpack ( FUdpPingPacket OutPacket,
uint8 *const  Buf,
const SIZE_T  BufSize 
)

◆ UpdatePacketChecksum()

bool UDPPing::UpdatePacketChecksum ( uint8 *const  PingPacketBuf,
const SIZE_T  BufSize,
const bool  ToNetworkByteOrder 
)

Variable Documentation

◆ PayloadSize

const SIZE_T UDPPing::PayloadSize = 4 * sizeof(uint32)