1

I have an index for the network interface I got a packet from, and need to find the name of interface. e.g. myFuntion(2) returns "eth0". Can someone help with an example if how to do it in C++ on Ubuntu 12.04?

Tina J
  • 4,983
  • 13
  • 59
  • 125

0 Answers0