ISocketSubsystem::GetLocalBindAddresses

Get bindable addresses that this machine can use as reported by GetAddressInfo with the BindableAddress flag.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

ISocketSubsystem::GetLocalBindAddresses()

FSteamSocketsSubsystem::GetLocalBindAddresses()

References

Module

Sockets

Header

/Engine/Source/Runtime/Sockets/Public/SocketSubsystem.h

Include

#include "SocketSubsystem.h"

Source

/Engine/Source/Runtime/Sockets/Private/SocketSubsystem.cpp

Syntax

virtual TArray< TSharedRef< FInternetAddr > > GetLocalBindAddresses()

Remarks

Get bindable addresses that this machine can use as reported by GetAddressInfo with the BindableAddress flag. This will return the various any address for usage. If multihome has been specified, only the multihome address will be returned in the array.

Returns

If GetAddressInfo succeeded or multihome is specified, an array of addresses that can be binded on. Failure returns an empty array.