Returns all IP addresses assigned to this host. Each object contains interface (the BSD name of the interface), address (the address string), and family ("ipv4" or "ipv6").
interface
address
family
"ipv4"
"ipv6"
An array of address objects.
Returns all IP addresses assigned to this host. Each object contains
interface(the BSD name of the interface),address(the address string), andfamily("ipv4"or"ipv6").