FOnlinePingInterfaceSteam::GetHostPingData

Returns the P2P relay ping information for the current machine.

Windows
MacOS
Linux

References

Module

OnlineSubsystemSteam

Header

/Engine/Plugins/Online/OnlineSubsystemSteam/Source/Public/OnlinePingInterfaceSteam.h

Include

#include "OnlinePingInterfaceSteam.h"

Syntax

FString GetHostPingData() const

Remarks

Returns the P2P relay ping information for the current machine. This information can be serialized over the network and used to calculate the ping data between a client and a host.

Returns

relay information blob stored as a string for relaying over the network. If an error occurred, the return is an empty string.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss