C
BOOL DNSEndUsage();
Description
This function acts as a semaphore to obtain usage of the DNS module. Call this function when this application no longer needs the DNS module so that other applications may make use of it.
Preconditions
DNSBeginUsage returned TRUE on a previous call.
Return Values
Return Values |
Description |
TRUE |
The address to the host name was successfully resolved. |
FALSE |
The DNS failed or the address does not exist. |
Remarks
Ensure that DNSEndUsage is always called once your application has obtained control of the DNS module. If this is not done, the stack will hang for all future applications requiring DNS access.