>>>>> "K" == Korshunov Ilya <kosha / Kp.ru> writes:

K> 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