Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to programmatically access windows XP arp cache

Posted on 2014-03-02
2
Medium Priority
?
549 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
Six Sigma Control Plans

609 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