IPSocket.getaddress(host) => ipaddress
Class Public methods
Lookups the IP address of host.
IPSocket.getaddress("localhost") #=> "127.0.0.1" IPSocket.getaddress("ip6-localhost") #=> "::1"
Lookups the IP address of host.
IPSocket.getaddress("localhost") #=> "127.0.0.1" IPSocket.getaddress("ip6-localhost") #=> "::1"
Please login to continue.