This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am trying to write a program in Java to know whether a machine is in Global/Private network or not .Below is my code snippet. I thought if a machine detects only loopback address(127.0.0.1 or ::1) then it can be assumed that machine is not in network .But in one of the System where multicast is enabled ,i am getting following IP Addresses other than loop back address .