how to get IP is configured in Static or DHCP mode using C program
Hello All,
how to get IP is configured in Static or DHCP mode uisng C program??
I got IP address using ioctl(fd, SIOCGIFADDR, &ifr), How Can I get IP mode static or dhcp???
Thanks in Advance.
Ashok
|