Navigation
API > API/Runtime > API/Runtime/Sockets > API/Runtime/Sockets/ISocketSubsystem
References
| Module | Sockets |
| Header | /Engine/Source/Runtime/Sockets/Public/SocketSubsystem.h |
| Include | #include "SocketSubsystem.h" |
| Source | /Engine/Source/Runtime/Sockets/Private/SocketSubsystem.cpp |
bool GetHostByNameFromCache
&40;
const ANSICHAR &42; HostName,
TSharedPtr< class FInternetAddr > & Addr
&41;
Remarks
Checks the host name cache for an existing entry (faster than resolving again) true if the host was found, false otherwise
Parameters
| Name | Description |
|---|---|
| HostName | the host name to search for |
| Addr | the out param that the IP will be copied to |