java Convert a string IPv4 IP address to the equivalent long numeric value.
result += (Integer.parseInt(ipAddressInArray[i]) % 256 * Math.pow(256, power));
Copied!
Are there any code examples left?
New code examples in category Java
result += (Integer.parseInt(ipAddressInArray[i]) % 256 * Math.pow(256, power));
Copied!