InternetProtocol Class extending Object

/ The InternetProtocol class is responsible for resolving hostnames to ip addresses /

Class Methods

Resolves the IP address for the given hostname and returns an Ipv4Address representing the IP address of the hostname

function getAddressForHostname(string hostname) : Ipv4Address