Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FNetPing
Description
Creates a new FNetPing instance, owned by the specified NetConnection. NOTE: Presently only enabled for GameNetDriver, but can support other NetDriver's (except ICMP ping).
| Name | CreateNetPing |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Net/NetPing.h |
| Include Path | #include "Net/NetPing.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Net/NetPing.cpp |
static TPimplPtr < FNetPing > CreateNetPing
(
UNetConnection * InOwner
)
Returns the new FNetPing instance, or nullptr if disabled. Uses TPimplPtr for compatibility with forward-declare.
Parameters
| Name | Remarks |
|---|---|
| InOwner | The owner of the new FNetPing instance. |