FSteamSocketsSubsystem::GetAddressFromString

Serializes a string that only contains an address.

Windows
MacOS
Linux

Override Hierarchy

ISocketSubsystem::GetAddressFromString()

FSteamSocketsSubsystem::GetAddressFromString()

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 TSharedPtr< FInternetAddr > GetAddressFromString
(
    const FString & InAddress
)

Remarks

Serializes a string that only contains an address.

This is a what you see is what you get, there is no DNS resolution of the input string, so only use this if you know you already have a valid address and will not need to convert. Otherwise, feed the address to GetAddressInfo for guaranteed results.

Returns

The FInternetAddr of the given string address. This will point to nullptr on failure.

Parameters

Parameter

Description

InAddress

the address to serialize

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