![]() |
WINC1500 IoT Software APIs
19.5.2
WINC Software API Reference Manual
|
Functions | |
NMI_API sint8 | gethostbyname (uint8 *pcHostName) |
Detailed Description
Asynchronous DNS resolving function. This function use DNS to resolve a domain name into the corresponding IP address. A call to this function will cause a DNS request to be sent and the response will be delivered to the DNS callback function registered using registerSocketCallback()
Function Documentation
◆ gethostbyname()
- Parameters
-
[in] pcHostName NULL terminated string containing the domain name for the remote host. Its size must not exceed HOSTNAME_MAX_SIZE.
- See also
- registerSocketCallback
- Warning
- Successful completion of a call to gethostbyname() does not guarantee success of the DNS request, a negative return value indicates only locally-detected errors
Generated on Thu Jan 26 2017 22:15:21 for WINC1500 IoT Software APIs by
