每个用户的网络监视器使用情况 [英] Network Monitor Usage Per user

查看:100
本文介绍了每个用户的网络监视器使用情况的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用vb.net,并且试图监视连接到服务器的每个用户的带宽使用情况.我已经有一个已连接用户及其IP地址的列表.有没有人做过这样的事情,您的帮助将不胜感激.

PS.会使用vb.net示例,但会满足c#:)

I am using vb.net and i am trying to monitor bandwidth usage for each user connected to the server. I already have a list of connected users and their IP Address. Has anybody done anything like this your help would be greatly appreciated.

PS. Would perfer vb.net examples but will settle for c# :)

推荐答案

您可以通过捕获网络数据包来开发自己的应用程序,然后保存每个数据包携带的数据量数据包,它将为您提供网络上每个IP或MAC地址消耗的确切数据量.

另请参见:
C#中的网络嗅探器 [
You can develop your on application by capturing network packets and then save the amount of data carried by each packet which will give you the exact amount of data consumed by each ip or mac address on the network.

see also:
A Network Sniffer in C#[^]


什么样的我们在谈论服务器的哪一个??

您可以编写一个代理,将传入的请求发送给实际的服务器,然后将数据返回给客户端,从而跟踪传递的数据量.一种中间人".但是,这完全取决于您正在谈论的服务器类型.
What kind of server are we talking about??

You could just write a proxy that takes the incoming requests sends them to the actual server and returns the data to the client, keeping track of the amount of data passed. Kind of a "man in the middle". But, this depends entirely on the kind of server you''re talking about.


这篇关于每个用户的网络监视器使用情况的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆