Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Sockets/Public/SocketSubsystem.h |
Include |
#include "SocketSubsystem.h" |
Source |
/Engine/Source/Runtime/Sockets/Private/SocketSubsystem.cpp |
bool GetHostByNameFromCache
(
const ANSICHAR * HostName,
TSharedPtr< class FInternetAddr > & Addr
)
Checks the host name cache for an existing entry (faster than resolving again)
true if the host was found, false otherwise
Parameter |
Description |
---|---|
HostName |
the host name to search for |
Addr |
the out param that the IP will be copied to |