I need to get the interface name by providing an IP address. There is no system call to get this.

I need an implementation for this in C or C++

Already the reverse of this is available on Stack Overflow, Finding an IP address from an interface name.

Edit
Report