DNSEndUsage Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
DNSEndUsage Function
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.

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.