1.1.7.2 WDRV_WINC_DNSResolveDomain
Function
WDRV_WINC_STATUS WDRV_WINC_DNSResolveDomain ( DRV_HANDLE handle, uint8_t type, const char *pDomainName, uint16_t timeoutMs, const WDRV_WINC_DNS_RESOLVE_CALLBACK pfDNSResolveResponseCB )
Summary
Resolves the IP address of a specific domain.
Description
Resolves the IP address of a specific domain.
Precondition
WDRV_WINC_Initialize should have been called. WDRV_WINC_Open should have been called to obtain a valid handle.
Parameters
handle - Client handle obtained by a call to WDRV_WINC_Open.
type - The type of IP address.
pDomainName - Pointer to domain name to resolve.
timeoutMs - Timeout (in milliseconds).
pfDNSResolveResponseCB - Pointer to DNS resolve response callback.
Returns
WDRV_WINC_STATUS_OK - The request has been accepted.
WDRV_WINC_STATUS_NOT_OPEN - The driver instance is not open.
WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.
WDRV_WINC_STATUS_REQUEST_ERROR - The request to the WINC was rejected.
Remarks
None.