gethostbyaddr

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

Obtains the host information for address.

p Socket.gethostbyaddr([221,186,184,68].pack("CCCC"))
#=> ["carbon.ruby-lang.org", [], 2, "\xDD\xBA\xB8D"]
doc_ruby_on_rails
2015-05-15 05:14:46
Comments
Leave a Comment

Please login to continue.