Update some comments

This commit is contained in:
Gregory Nutt 2015-08-24 15:41:45 -06:00
parent eea69cf6e3
commit 6158086dd4
2 changed files with 10 additions and 1 deletions

@ -1 +1 @@
Subproject commit cae6e67e0534485cd42119346a2e0121d6652965
Subproject commit 8a30728ae9a64496f0c9a0ff5dd62bd3b022c145

View File

@ -406,6 +406,15 @@ int gethostbyaddr_r(FAR const void *addr, socklen_t len, int type,
}
#endif
/* TODO:
*
* 1. Look in the DNS cache to see if we have the address mapping already
* in place. If not,
* 2. Perform a reverse DNS lookup. And if that fails as well, then
* finally
* 3. Search the hosts file for a match.
*/
/* Search the hosts file for a match */
return lib_hostfile_lookup(addr, len, type, host, but, buflen, h_errnop);