Navigation
API > API/Runtime > API/Runtime/Sockets > API/Runtime/Sockets/ISocketSubsystem
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FResolveInfo * GetHostByName
(
const ANSICHAR* HostName |
Creates a platform specific async hostname resolution object | SocketSubsystem.h | |
virtual ESocketErrors GetHostByName
(
const ANSICHAR* HostName, |
Does a DNS look up of a host name This code assumes a lot, and as such, it's not guaranteed that the results provided by it are correct. | SocketSubsystem.h |
GetHostByName(const ANSICHAR *)
Description
Creates a platform specific async hostname resolution object
| Name | GetHostByName |
| Type | function |
| Header File | /Engine/Source/Runtime/Sockets/Public/SocketSubsystem.h |
| Include Path | #include "SocketSubsystem.h" |
| Source | /Engine/Source/Runtime/Sockets/Private/SocketSubsystem.cpp |
virtual FResolveInfo * GetHostByName
(
const ANSICHAR * HostName
)
the resolve info to query for the address
Parameters
| Name | Remarks |
|---|---|
| HostName | the name of the host to look up |
GetHostByName(const ANSICHAR *, FInternetAddr &)
Description
Does a DNS look up of a host name This code assumes a lot, and as such, it's not guaranteed that the results provided by it are correct.
| Name | GetHostByName |
| Type | function |
| Header File | /Engine/Source/Runtime/Sockets/Public/SocketSubsystem.h |
| Include Path | #include "SocketSubsystem.h" |
virtual ESocketErrors GetHostByName
(
const ANSICHAR * HostName,
FInternetAddr & OutAddr
)
Parameters
| Name | Remarks |
|---|---|
| HostName | the name of the host to look up |
| Addr | the address to copy the IP address to |