Solved

How to programmatically access windows XP arp cache

Posted on 2014-03-02
2
484 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This is about my first experience with programming Arduino.
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

743 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now