Returns IP addresses for the network interface.
Name of the interface (e.g. eth0)
true: fetch IPv6 addresses, false: IPv4
IP addresses of the interface for the given family as strings, if they could be resolved, otherwise an empty array.
See Implementation
Returns IP addresses for the network interface.