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.
I have an ip address, but need the hostname. To clarify, this is not the ip address of my localhost. I was thinking InetAddress.getByAddress(byte b) would do the trick. But several octets in the ip are greater than 127. For instance, 220.127.116.11 (I made that up). I am thinking the people who designed this class would known this would be the case and have thought of a solution. Does anyone know how to get around the byte value limit? Thank you.