Solved

How to programmatically access windows XP arp cache

Posted on 2014-03-02
2
508 Views
Last Modified: 2014-03-04
I am developing Windows software to run on an XP machine and wish to enumerate entries in the local PC ARP cache to obtain a list of IP addresses on the local area network that are in the ARP cache. I am using Indy network components with C++ Builder.
Can anyone suggest how to do this without doing an ICMP echo request to IP addresses that are of interest ?

Thanks,

Roger
0
Comment
Question by:alcindor
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 500 total points
ID: 39898680
You can do tat via SNMP, yet it's not quite trivial - see the article plus source code at http://www.codeproject.com/Articles/22483/Edit-Add-Remove-Modify-ARP-Tables
Converting that to C++ builder is possible, but you might have to invest some amount of work.
0
 
LVL 2

Author Closing Comment

by:alcindor
ID: 39903009
You are correct, it is not a trivial exercise. Thanks for the solution, I will be working on this in a few weeks time.
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question