Solved

How to monitor in/out packets on interfaces (bandwidth monitor)

Posted on 2002-04-22
10
209 Views
Last Modified: 2010-04-04
I'm looking for a way to monitor the number of all incoming and outgoing packets for a bandwidth display application. The method must work on all windows platforms from W95 up...

Anybody go any ideas?

Cheers,
Paul
0
Comment
Question by:thornton_paul
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 3

Expert Comment

by:raidos
ID: 6959488
I haven't tried doing something like that, but there is a library/device driver called winpcap maybe that would work for you.

http://winpcap.polito.it/default.htm

Regards
//raidos
0
 
LVL 6

Accepted Solution

by:
Stuart_Johnson earned 100 total points
ID: 6961597
I've used WinPCap and it's GREAT.  At times it's pretty difficult to figure out, but the included examples are great (although most of them wouldn't compile on my system).
0
 

Author Comment

by:thornton_paul
ID: 6962134
OK, I'll take a look... I was kind of hoping to manage without using any driver type stuff. Are there no registry entries which record packets in/out?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 6

Expert Comment

by:Stuart_Johnson
ID: 6962643
Nope.  This is the easiest way of doing it :(
0
 

Author Comment

by:thornton_paul
ID: 6976587
Hi Stuart,

I've tried WinPCap (with the Delphi header files from http://home1.stofanet.dk/nitezhifter) and it seems to do what I need.

I do however have a couple of concerns:

1. Has anybody any experience with deploying WinPCap with an application (install/uninstall/different operating systems etc.)?

2. Are there any performance issues?

Cheers,
Paul
0
 
LVL 1

Expert Comment

by:SJohnson
ID: 6977032
Paul,

I haven't tried deploying it, but I could sure give it a go for you.  I can probably test it on 98, NT4, 2000 and XP Home (as they are they only OS's I have access to at present).  I use Wise InstallMaster, so I can provide a script if that helps (and providing the install works).

Performance issues..  I'm sure there would be some.  Everything has some form of effect on something else somwhere down the line.  I haven't noticed it on my ADSL connection (256k originally, upgraded to 512k last month).

I'll try doing something tomorrow morning for you.

Stu
0
 

Author Comment

by:thornton_paul
ID: 6977047
Thanks Stuart, much appreciated.
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 7079867
What would you like done with this question?
Moondancer - EE Moderator
0
 
LVL 1

Expert Comment

by:pnh73
ID: 9003912
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept answer from Stuart Johnson

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Paul (pnh73)
EE Cleanup Volunteer
0
 
LVL 6

Expert Comment

by:Stuart_Johnson
ID: 9096515
Umm, although I appreciate getting the points, it wasn't me who suggested WinPCap - it was raidos.  They deserve the points.

Stu
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Intraweb submit form as a POST request 4 350
Delphi application Soap connection 5 131
how to change, disabled button color FMX ? 1 48
firemonkey Android Listview Sort items 7 70
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question