开发者

How to get Network Statistics of a Remote PC

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 pr开发者_开发知识库oblem?


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜