Bug #1180: gethostbyname
http://redmine.ruby-lang.org/issues/show/1180

Author: Oleg Puchinin
Status: Open, Priority: Normal
ruby -v: ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux]

Socket.gethostbyname("192.0.34.166")
 return ["192.0.34.166", [], 2, "\xC0\x00\"\xA6"], 
 not ["www.example.com", [], 2, "\300\000\"\246"]

where is "getnamebyhost" ?

Best regards,
Oleg.


----------------------------------------
http://redmine.ruby-lang.org