diegonehab/luasocket — pull request #6 by Florob (2012-05-05 00:18:46+00:00)
Title: Add a getnameinfo() wrapper

This wrapper takes a domain name or an IP as first argument
and a service name or port as second argument.
Either argument may be nil.

It returns a list of names (always only one in the IP case) and a
service name.