Navigation
API > API/Plugins > API/Plugins/SocketSubsystemSteamIP > API/Plugins/SocketSubsystemSteamIP/FSocketSubsystemSteam
Description
Serializes a string that only contains an address.
On Steam, this will take SteamIDs and serialize them into FInternetAddrSteam if it is determined the input string is an ID. Otherwise, this will give you back a FInternetAddrBSD.
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 ip address. Otherwise, feed the address to GetAddressInfo for guaranteed results.
Serializes a string that only contains an address.
On Steam, this will take SteamIDs and serialize them into FInternetAddrSteam if it is determined the input string is an ID. Otherwise, this will give you back a FInternetAddrBSD.
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 ip address. Otherwise, feed the address to GetAddressInfo for guaranteed results.
Virtual Inheritance
- ISocketSubsystem::GetAddressFromString → FSocketSubsystemSteam::GetAddressFromString
| Name | GetAddressFromString |
| Type | function |
| Header File | /Engine/Plugins/Online/SocketSubsystemSteamIP/Source/SocketSubsystemSteamIP/Public/SocketSubsystemSteam.h |
| Include Path | #include "SocketSubsystemSteam.h" |
| Source | /Engine/Plugins/Online/SocketSubsystemSteamIP/Source/SocketSubsystemSteamIP/Private/SocketSubsystemSteam.cpp |
virtual TSharedPtr < FInternetAddr > GetAddressFromString
(
const FString & IPAddress
)
The FInternetAddr of the given string address. This will point to nullptr on failure.
Parameters
| Name | Remarks |
|---|---|
| IPAddress | the ip address to serialize |
| InAddress | the address to serialize |