? сообщени? от 28 Октябр? 2002 17:28 ts написа?:
> >>>>> "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%

Tnx))

-- 
WBR
Korshunov Ilya