gethostbyaddr

Socket.gethostbyaddr(address_string [, address_family]) => hostent
Class Public methods

Obtains the host information for address.

1
2
p Socket.gethostbyaddr([221,186,184,68].pack("CCCC"))
#=> ["carbon.ruby-lang.org", [], 2, "\xDD\xBA\xB8D"]
doc_ruby_on_rails
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.