Hi,
----- Original Message ----- 
From: "Pokkai Dokkai" <bad_good_lion / yahoo.com>
Newsgroups: comp.lang.ruby
To: "ruby-talk ML" <ruby-talk / ruby-lang.org>
Sent: Tuesday, April 15, 2008 7:32 PM
Subject: how to find hostname from a given IP address in LAN ?


> how to find hostname from a given IP address in LAN ?
> -- 
> Posted via http://www.ruby-forum.com/.
> 
>
C:\Documents and Settings\phasis>irb
irb(main):001:0> Socket::getaddrinfo('210.180.98.85',nil)[0][2]
=> "ns.hananet.net"

Regards,