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
  • 41,899
  • 19
  • 136
  • 174
Rockford
  • 103
  • 1
  • 2
  • 8

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,882
  • 6
  • 45
  • 69
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
  • 39,594
  • 3
  • 35
  • 61
  • 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