joyent/node — pull request #7847 by saghul (2014-06-26 07:55:28+00:00)
Title: dns: introduce lookupService function

Uses getnameinfo to resolve an address an port into a hostname and
service.

NOTE: latest libuv needs to be pulled into node before merging this.

Does what it says on the tin. I'm not thrilled about the `lookupService` name, suggestions are welcome :-)

Suggested reviewer: @indutny, but all feedback is of course welcome!