?
Solved

How to programmatically access windows XP arp cache

Posted on 2014-03-02
2
Medium Priority
?
555 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 1500 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

840 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