Actions
Bug #1180
closedgethostbyname
Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux]
Backport:
Description
=begin
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.
=end
Updated by nobu (Nobuyoshi Nakada) over 15 years ago
- Status changed from Open to Feedback
=begin
What do you mean?
$ dig www.example.com | grep -w IN
;www.example.com. IN A
www.example.com. 80 IN A 208.77.188.166
=end
Updated by nobu (Nobuyoshi Nakada) over 15 years ago
=begin
Hi,
At Fri, 20 Feb 2009 01:32:06 +0900,
Oleg Puchinin wrote in [ruby-core:22261]:
where is "getnamebyhost" ?
Is what you want Socket.getnameinfo?
--
Nobu Nakada
=end
Updated by yugui (Yuki Sonoda) over 15 years ago
- Status changed from Feedback to Rejected
=begin
=end
Actions
Like0
Like0Like0Like0