UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IcmpPrivate.h File Reference
#include "CoreMinimal.h"

Go to the source code of this file.

Macros

#define PLATFORM_SUPPORTS_ICMP   0
 
#define PLATFORM_USES_POSIX_ICMP   0
 
#define PING_ALLOWS_CUSTOM_THREAD_SIZE   0
 

Functions

int CalculateChecksum (uint8 *Address, int Length)
 
bool ResolveIp (ISocketSubsystem *SocketSub, const FString &HostName, FString &OutIp)
 

Macro Definition Documentation

◆ PING_ALLOWS_CUSTOM_THREAD_SIZE

#define PING_ALLOWS_CUSTOM_THREAD_SIZE   0

◆ PLATFORM_SUPPORTS_ICMP

#define PLATFORM_SUPPORTS_ICMP   0

◆ PLATFORM_USES_POSIX_ICMP

#define PLATFORM_USES_POSIX_ICMP   0

Function Documentation

◆ CalculateChecksum()

int CalculateChecksum ( uint8 Address,
int  Length 
)

Calculate the 16-bit one's complement of the one's complement sum of the ICMP message starting at the beginning of the IcmpHeader

Parameters
Addressbyte array to calculate the checksum from
Lengthlength of the input byte array

◆ ResolveIp()

bool ResolveIp ( ISocketSubsystem SocketSub,
const FString &  HostName,
FString &  OutIp 
)

Convert a string based hostname (ipv4) to a valid ip address

Parameters
HostNamethe name of the host to look up
OutIp[out] the string to copy the IP address to
Returns
true if conversion was successful, false otherwise