Search code examples
c++linuxethernetlibpcaparp

arping in c++ on linux


I was wondering if anyone knows of a arping api or wrapper written in c++ not c ? I have looked at the libpcap library but I want a c++ alternative if possible

http://www.tcpdump.org/pcap3_man.html

Programmatic use of ARP

Thanks


Solution

  • Libpcap's APIs should be callable from C++, at least in newer versions that have extern "C" wrappers in the header files.