Sorry for my ignorance, but how do I resolve names in /etc/hosts, in particular "localhost", without resorting to calling getaddrinfo()? Does udns do this? It doesn't seem to. Thanks