Skip to content
class method

IPAddr.ntop

(::String addr) -> ::String
ntop(addr)

Convert a network byte ordered string form of an IP address into human readable form. It expects the string to be encoded in Encoding::ASCII_8BIT (BINARY).

See also .new_ntoh #& .new #+ also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0