C program to show all network interfaces (IP and MAC) on a linux system
Posted in Uncategorized on Feb 16th, 2009
Edit: This code has an updated version, here! This simple C program lists all of the “up” network interfaces on a linux system, along with their IP address and MAC address. It prints off the bound IP address as well as the MAC address of the interface. A older version of this program can be [...]