0

H! I have to make an application in vc++ which can get the network statics of remote PC. Is any one can help me to solve my problem?

Mike Pennington
  • 40,496
  • 17
  • 132
  • 170
Rockford
  • 103
  • 1
  • 2
  • 8
  • What are "network statics"? What information do you wish to be included? What operating system is the remote PC running? – Cody Gray Apr 13 '11 at 05:19

2 Answers2

1

Since you said vc++, therefore, I assume that you have to do this in Windows environment. Have a look at SNMP protocol. And How it can be used to get information of remote machines.

Look at this SO Question as well.

Community
  • 1
  • 1
Aamir
  • 14,434
  • 6
  • 41
  • 66
1

Depending on the network statistics that you want to capture, you may find that (as Aamir suggested) SNMP is a good choice.

There are standard MIBs defined that will provide a number of network statistics. Three that are worth investigation are:

  1. IF-MIB,
  2. RMON, and
  3. Etherlike MIB

NET-SNMP is a good library for accessing SNMP information and is available for Windows (as you've mentioned vc++). Others are available.

This does assume that you have an SNMP agent running and accessible on the remote machines that you wish to monitor.

Andrew Edgecombe
  • 38,075
  • 3
  • 33
  • 60
  • Thanks Aamir and Andrew...as both of you have suggested i am going to use NET-SNMP. If find further problem than i will contact you again. – Rockford Apr 13 '11 at 06:09