Yes, hashcod will give the hashcode representation of InetAddress object, but this is not what I want. I want the integer reprsentation of the IP address
string. For example, suppose IP address is "192.168.1.0", then I want the integer value of this IP address. I can get integer value from this manually by doing [192*(256^3)+168*(256^2)+1*256+0]
Is there any in-built function that can do this for me?