FSteamSocketsSubsystem::GetLocalAdapterAddresses

Gets the list of addresses associated with the adapters on the local computer.

Windows
MacOS
Linux

Override Hierarchy

ISocketSubsystem::GetLocalAdapterAddresses()

FSteamSocketsSubsystem::GetLocalAdapterAddresses()

References

Module

SteamSockets

Header

/Engine/Plugins/Runtime/Steam/SteamSockets/Source/SteamSockets/Public/SteamSocketsSubsystem.h

Include

#include "SteamSocketsSubsystem.h"

Source

/Engine/Plugins/Runtime/Steam/SteamSockets/Source/SteamSockets/Private/SteamSocketsSubsystem.cpp

Syntax

virtual bool GetLocalAdapterAddresses
(
    TArray< TSharedPtr< FInternetAddr >> & OutAddresses
)

Remarks

Gets the list of addresses associated with the adapters on the local computer. Unlike GetLocalHostAddr, this function does not give preferential treatment to multihome options in results. It's encouraged that users check for multihome before using the results of this function.

Returns

true on success, false otherwise.

Parameters

Parameter

Description

OutAddresses

Will hold the address list.

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