Skip to main content
GameDev.net gamedev.net
🔒 Locked

LAN Information

Started by Scar Oct 27, 2005 at 9:27 AM 0 replies 800+ views
Original Post
Scar
Scar
Hello all. I want to make a program in C++ that will retrieve router tables from various portions of a LAN. Is there any way to get this data via a packet?
hplus0603
hplus0603
You would have to advertize yourself as a router information exchange point. Look up what protocol your routers are using (RIP, BGP, whatever) and implement that protocol (or find a library that does) to get that type of information.

It may also be that various devices from various manufacturers expose this information using some management protocol such as SNMP or vendor-private protocols. You have to study the documentation for the specific devices you are interested in to get more detail.
enum Bool { True, False, FileNotFound };

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.