C
BOOL DNSIsResolved( IP_ADDR* HostIP );
Description
Call this function to determine if the DNS resolution of an address has been completed. If so, the resolved address will be provided in HostIP.
Preconditions
DNSResolve or DNSResolveROM has been called.
Parameters
Parameters |
Description |
HostIP |
A pointer to an IP_ADDR structure in which to store the resolved IP address once resolution is complete. |
Return Values
Return Values |
Description |
TRUE |
The DNS client has obtained an IP, or the DNS process has encountered an error. HostIP will be 0.0.0.0 on error. Possible errors include server timeout (i.e. DNS server not available), hostname not in the DNS, or DNS server errors. |
FALSE |
The resolution process is still in progress. |