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.
This code outputs loop-back address 127.0.0.1 and host name of my PC, what a huge work this code does, but i am interested in eth0 interface address which is �192.168.1.2�. any suggestion how can i get my PC local LAN ip via code. Regards MABASIT
Hey, Abdul, thanks for posting your solution! It's nice for others (like me) who stumble upon the thread and are curious as to the solution, especially when we've got the same question. That's part of the JavaRanch spirit.