addrinfo.ip_address => string
Instance Public methods
Returns the IP address as a string.
1 2 | Addrinfo.tcp( "127.0.0.1" , 80 ).ip_address #=> "127.0.0.1" Addrinfo.tcp( "::1" , 80 ).ip_address #=> "::1" |
Returns the IP address as a string.
1 2 | Addrinfo.tcp( "127.0.0.1" , 80 ).ip_address #=> "127.0.0.1" Addrinfo.tcp( "::1" , 80 ).ip_address #=> "::1" |
Designed by : w10schools
service@w10schools.com
Please login to continue.