using libdnet to get arp table

This is a discussion on using libdnet to get arp table within the Networking/Device Communication forums, part of the General Programming Boards category; Hi, It's been a long time since I stopped programming. But now I'm back. I'm trying to write a code ...

  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    2

    Lightbulb using libdnet to get arp table

    Hi,

    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

    Please help.

  2. #2
    Registered User kryptkat's Avatar
    Join Date
    Dec 2002
    Posts
    638
    been answered.

    These osbsolete functions will continue to work, to keep backward compatibility, but should not be used anymore. The new APIs should be prefered. There are two new APIs, one is the low-level one, matching libdnet functions, and the other one is a high-level API, matching a more Perl object oriented programming. This latest one is highly prefered.
    Net::Libdnet - search.cpan.org

  3. #3
    Registered User
    Join Date
    May 2010
    Posts
    2
    thz a lot kryptkat. I'll take a look at that and update back.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Please help me as fast as possible
    By Xbox999 in forum C Programming
    Replies: 5
    Last Post: 11-30-2009, 05:53 PM
  2. help with structs and malloc!
    By coni in forum C Programming
    Replies: 20
    Last Post: 09-14-2009, 05:38 PM
  3. Writing array, to file
    By zootreeves in forum C Programming
    Replies: 9
    Last Post: 09-08-2007, 05:06 PM
  4. extra word printing
    By kashifk in forum C++ Programming
    Replies: 2
    Last Post: 10-25-2003, 04:03 PM
  5. inputting words from a file
    By kashifk in forum C++ Programming
    Replies: 5
    Last Post: 10-24-2003, 07:18 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21