method

ip_unpack

Importance_1

Not found

The exact documentation you were looking for could not be found. Here is the best guess.

ip_unpack() public

Returns the IP address and port number as 2-element array.

Addrinfo.tcp("127.0.0.1", 80).ip_unpack    #=> ["127.0.0.1", 80]
Addrinfo.tcp("::1", 80).ip_unpack          #=> ["::1", 80]
Show source
Register or log in to add new notes.