VintageNet.IP.ip_to_string

You're seeing just the function ip_to_string, go back to VintageNet.IP module for more information.

Specs

ip_to_string(VintageNet.any_ip_address()) :: String.t()

Convert an IP address to a string

Examples:

iex> VintageNet.IP.ip_to_string({192, 168, 0, 1})
"192.168.0.1"

iex> VintageNet.IP.ip_to_string("192.168.9.1")
"192.168.9.1"

iex> VintageNet.IP.ip_to_string({65152, 0, 0, 0, 0, 0, 0, 1})
"fe80::1"