USimulatedClientNetConnection::GetRemoteAddr

Return the platform specific [FInternetAddr](API\Runtime\Sockets\FInternetAddr) type, containing this connections address.

Windows
MacOS
Linux

Override Hierarchy

UNetConnection::GetRemoteAddr()

USimulatedClientNetConnection::GetRemoteAddr()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/NetConnection.h

Include

#include "Engine/NetConnection.h"

Syntax

virtual TSharedPtr< const FInternetAddr > GetRemoteAddr()

Remarks

Return the platform specific FInternetAddr type, containing this connections address. If nullptr is returned, connection is not added to MappedClientConnections, and can't receive net packets which depend on this.

Returns

The platform specific FInternetAddr containing this connections address

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