![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "Icmp.h"#include "HAL/ThreadSafeBool.h"#include "Containers/Ticker.h"#include "Async/Future.h"#include "Async/Async.h"#include "IcmpPrivate.h"#include "SocketSubsystem.h"#include "IPAddress.h"#include "Misc/ConfigCacheIni.h"Classes | |
| class | FIcmpAsyncResult |
Functions | |
| FIcmpEchoResult | IcmpEchoImpl (ISocketSubsystem *SocketSub, const FString &TargetAddress, float Timeout) |
| int | CalculateChecksum (uint8 *Address, int Length) |
| bool | ResolveIp (ISocketSubsystem *SocketSub, const FString &HostName, FString &OutIp) |
| 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
| Address | byte array to calculate the checksum from |
| Length | length of the input byte array |
| FIcmpEchoResult IcmpEchoImpl | ( | ISocketSubsystem * | SocketSub, |
| const FString & | TargetAddress, | ||
| float | Timeout | ||
| ) |
| bool ResolveIp | ( | ISocketSubsystem * | SocketSub, |
| const FString & | HostName, | ||
| FString & | OutIp | ||
| ) |
Convert a string based hostname (ipv4) to a valid ip address
| HostName | the name of the host to look up |
| OutIp | [out] the string to copy the IP address to |