![]() |
General Programming »
Internet / Network »
General
Intermediate
License: The Code Project Open License (CPOL)
Applications Traffic WatcherBy WarlibApplications Traffic Watcher is a small utility to get information about the amount of data transferred to and from the Internet. |
Windows, Visual Studio, Dev
|
|
Advanced Search Add to IE Search |
|
|
|
||||||||||||||||
Applications Traffic Watcher (ATW) is a small utility to get information about the amount of data transferred to and from the Internet. It uses the WinPcap library from here.
Network traffic inside a LAN is calculated, but ignored when calculating costs. So, you can see which applications are consuming traffic. ATW is very useful in understanding how much traffic is consumed by Skype, Gizmo etc.
The idea of the application is quite simple:
WinPCap. GetExtendedTcpTable or GetExtendedUdpTable. IPNumber (Read this article). There is no installation required if WinPcap is already installed. Just run the *.exe file. Otherwise you must download WinPCap from here and install it. After installation, you should maybe restart your computer to properly initialize the WinPcap drivers - otherwise the program may crash.
As you can see in the screen shot, there are a lot of processes specified as "Unknown_". Unfortunately, I couldn't find any way to determine which application sends/receives packets. Packets couldn't be identified when Internet Explorer/Firefox etc. download some Web pages. They create a lot of connections on different local ports with unknown PIDs (I couldn't associate the connection which I get from GetExtendedTcpTable and packet which I get from WinPCap). So, if you can help to resolve this problem, you are welcome to do so.
Another big problem - sometimes ATW consumes a lot of CPU resources and I couldn't minimize it for now.
To understand how Microsoft does some things and for code optimization, I used the following tools:
General
News
Question
Answer
Joke
Rant
Admin
|
PermaLink |
Privacy |
Terms of Use
Last Updated: 17 Jul 2006 Editor: Deeksha Shenoy |
Copyright 2006 by Warlib Everything else Copyright © CodeProject, 1999-2009 Web17 | Advertise on the Code Project |