Network interfaces discovery — Utility functions to discover local network interfaces
These utility functions allow the discovery of local network interfaces in a portable manner, they also allow finding the local ip addresses or the address allocated to a network interface.
gchar * nice_interfaces_get_ip_for_interface (
Retrieves the IP address of an interface by its name. If this fails,
GList * nice_interfaces_get_local_interfaces (
Get the list of local interfaces
GList * nice_interfaces_get_local_ips (
Get a list of local ipv4 interface addresses