开发者

Network statistics

I'm trying to collect network statistics on my computer and draw a pie chart. An example is shown below.

my computer connects to port 80   75%
my computer connec开发者_如何学Gots to port 443  20%
my computer connects to port 443  5%

But I don't know how to get each port that my machine is connecting to.

I will be using Java to develop this.


You should check out jNetPcap, which allows you to monitor network traffic.

http://jnetpcap.com/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜