The uIP DNS resolver functions are used to lookup a hostname and map it to a numerical IP address.
It maintains a list of resolved hostnames that can be queried with the resolv_lookup() function. New hostnames can be resolved using the resolv_query() function.
The event resolv_event_found is posted when a hostname has been resolved. It is up to the receiving process to determine if the correct hostname has been found by calling the resolv_lookup() function with the hostname.
|
file | mdns.c |
| DNS host name to IP address resolver.
|
|
file | resolv.c |
| DNS host name to IP address resolver.
|
|
#define WITH_EDNS_LIMIT_UDP_RES_PAYLOAD 1 |