It's been a long time since I stopped programming. But now I'm back. I'm trying to write a code that read arp table from a machine using C. I've googled and found that libdnet might be used in this case. The problem is I don't know how to use arp_get() function. I have no idea how to pass argument to that function.
You can have a look at the source library here.
libdnet - Project Hosting on Google Code