IPSocket.getaddress(host) => ipaddress
Class Public methods
Lookups the IP address of host.
1 2 | IPSocket.getaddress( "localhost" ) #=> "127.0.0.1" IPSocket.getaddress( "ip6-localhost" ) #=> "::1" |
Lookups the IP address of host.
1 2 | IPSocket.getaddress( "localhost" ) #=> "127.0.0.1" IPSocket.getaddress( "ip6-localhost" ) #=> "::1" |
Designed by : w10schools
service@w10schools.com
Please login to continue.