Hello ruby-talk!
Is there any function which returns ip-adress from given host-name ?
···
–
WBR
Korshunov Ilya
Hello ruby-talk!
Is there any function which returns ip-adress from given host-name ?
–
WBR
Korshunov Ilya
Is there any function which returns ip-adress from given host-name ?
IPSocket::getaddress
pigeon% ruby -rsocket -e 'p IPSocket::getaddress("www.ruby-lang.org")'
"210.251.121.214"
pigeon%
Guy Decoux
В сообщении от 28 Октябрь 2002 17:28 ts написал:
Is there any function which returns ip-adress from given host-name ?
IPSocket::getaddress
pigeon% ruby -rsocket -e ‘p IPSocket::getaddress(“www.ruby-lang.org”)’
“210.251.121.214”
pigeon%
Tnx))
–
WBR
Korshunov Ilya