Deprecated
Please use GetAddressInfo to query hostnames
Module |
|
Header |
/Engine/Source/Runtime/Sockets/Public/SocketSubsystem.h |
Include |
#include "SocketSubsystem.h" |
virtual ESocketErrors GetHostByName
(
const ANSICHAR * HostName,
FInternetAddr & OutAddr
)
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.
Parameter |
Description |
---|---|
HostName |
the name of the host to look up |
Addr |
the address to copy the IP address to |