title: c++ linux - getting the interface from IP
body: <p>in C++ linux application, how can I get the network interface reffering to each IP on my machine?
  IP contains: static IP and dynamic IP</p>
  
  <p>Note: I can't use the system call getnameinfo</p>
  
  <p>10x</p>