Navigation
API > API/Runtime > API/Runtime/Icmp > API/Runtime/Icmp/FUDPPing
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void UDPEchoMany
(
const TArray< FIcmpTarget >& Targets, |
Send multiple ICMP echo packets and wait for replies. | Icmp.h | |
static void UDPEchoMany
(
const TArray< FIcmpTarget >& Targets, |
Send multiple ICMP echo packets and wait for replies. | Icmp.h |
UDPEchoMany(const TArray< FIcmpTarget > &, float, FIcmpEchoManyCompleteCallback)
Description
Send multiple ICMP echo packets and wait for replies.
Creates a new thread in which name resolution and ping send/receive are handled for all supplied target addresses. These are non-blocking requests, sent and received on a single network socket.
The third argument is a callback function that will be invoked on the game thread after all replies are received, timed out, or otherwise terminated (e.g. remote address could not be resolved, host unreachable, send failed, etc.). It passes a FIcmpEchoManyCompleteResult instance, containing the overall completion status, and the ping results obtained so far for all of the supplied targets.
| Name | UDPEchoMany |
| Type | function |
| Header File | /Engine/Source/Runtime/Online/ICMP/Public/Icmp.h |
| Include Path | #include "Icmp.h" |
| Source | /Engine/Source/Runtime/Online/ICMP/Private/UDPPing.cpp |
static void UDPEchoMany
(
const TArray< FIcmpTarget > & Targets,
float Timeout,
FIcmpEchoManyCompleteCallback CompletionCallback
)
Parameters
| Name | Remarks |
|---|---|
| Targets | the target addresses to ping |
| Timeout | max time to wait for a replies |
| CompletionCallback | callback function that is invoked when the final results are ready |
UDPEchoMany(const TArray< FIcmpTarget > &, float, FIcmpEchoManyCompleteDelegate)
Description
Send multiple ICMP echo packets and wait for replies.
Creates a new thread in which name resolution and ping send/receive are handled for all supplied target addresses. These are non-blocking requests, sent and received on a single network socket.
The third argument is a callback function that will be invoked on the game thread after all replies are received, timed out, or otherwise terminated (e.g. remote address could not be resolved, host unreachable, send failed, etc.). It passes a FIcmpEchoManyCompleteResult instance, containing the overall completion status, and the ping results obtained so far for all of the supplied targets.
| Name | UDPEchoMany |
| Type | function |
| Header File | /Engine/Source/Runtime/Online/ICMP/Public/Icmp.h |
| Include Path | #include "Icmp.h" |
| Source | /Engine/Source/Runtime/Online/ICMP/Private/UDPPing.cpp |
static void UDPEchoMany
(
const TArray< FIcmpTarget > & Targets,
float Timeout,
FIcmpEchoManyCompleteDelegate CompletionDelegate
)
Parameters
| Name | Remarks |
|---|---|
| Targets | the target addresses to ping |
| Timeout | max time to wait for a replies |
| CompletionDelegate | delegate that is invoked when the final results are ready |