Navigation
API > API/Plugins > API/Plugins/SocketSubsystemSteamIP > API/Plugins/SocketSubsystemSteamIP/FSocketSubsystemSteam
Description
Gets the address information of the given hostname and outputs it into an array of resolvable addresses. It is up to the caller to determine which one is valid for their environment.
Virtual Inheritance
- ISocketSubsystem::GetAddressInfo → FSocketSubsystemSteam::GetAddressInfo
| Name | GetAddressInfo |
| 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 FAddressInfoResult GetAddressInfo
(
const TCHAR * HostName,
const TCHAR * ServiceName,
EAddressInfoFlags QueryFlags,
const FName ProtocolTypeName,
ESocketType SocketType
)
the array of results from GetAddrInfo
Parameters
| Name | Remarks |
|---|---|
| HostName | string version of the queryable hostname or ip address |
| ServiceName | string version of a service name ("http") or a port number ("80") |
| QueryFlags | What flags are used in making the getaddrinfo call. Several flags can be used at once by ORing the values together. Platforms are required to translate this value into a the correct flag representation. |
| ProtocolType | this is used to limit results from the call. Specifying None will search all valid protocols. Callers will find they rarely have to specify this flag. |
| SocketType | What socket type should the results be formatted for. This typically does not change any formatting results and can be safely left to the default value. |