This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Interesting, it returns the localhost numeric values, 127.0.0.1, but also returns the host's name. Not the fully qualified name.
So on my machine named "tools" it returns tools. If it returned tools.pfarrell.com, then I could do a DNS lookup to get the number.