Robert Wade said: > The whole premise of GNU and usually open source is that one can use the > work of others. Why not just use 'ifconfig -a' in your program? You could just use the SIOCGIFCONF ioctl call to get a list of all the network interfaces as an array of ifreq structs. -- Kathryn