java Convert a string IPv4 IP address to the equivalent long numeric value. code example
Example: java Convert a string IPv4 IP address to the equivalent long numeric value.
result += (Integer.parseInt(ipAddressInArray[i]) % 256 * Math.pow(256, power));
Copied!