Link to home
Start Free TrialLog in
Avatar of pede
pede

asked on

Monitoring net traffic

Hi

How can I monitor the amount of bytes received and sent to/from my PC (via network)?

I have a very specific use for this; I wan't to know how much EverQuest (a game, for those of you who are too professional to have fun ;) actually downloads, since I play at work, and the company will have to pay if we exceeds a certain amount of bytes ;) I thought it could be fun to make this program myself, but any components (or even .exe's) would be appreciated (so I eventually could compare results).

I suppose EQ uses TCP/IP (or rather UDP), but measuring ALL traffic will be fine, since there won't be anything else going on.

Regards,
Pede
Avatar of Epsylon
Epsylon

Windows NT or 95/98? Or Both?

For NT try this one:

http://www.jgsoftware.com/files/perfmon.zip
Avatar of pede

ASKER

It's 95/98.

/Pede

Sorry, then I can't help you....
Avatar of pede

ASKER

Doh! I thought it would be easy :o(

Unfortunately I cant run it under NT, since it requires DirectX 5

Maybe an NT machine (not the server) can monitor other machines on the network? This could be a workaround.

/Pede

Sorry, I have never done anything with monitoring stuff. I only knew of the existence of perfmon.zip.


There is an unofficial DX5 for NT:

http://www.delphi-jedi.org/DelphiGraphics/DirectX/NT4DX5.zip

I have succesfully done many things with it  :o)


Cheers,

Epsylon.
Win95 (and maybe 98) comes with System Monitor which monitors a lot of things (network, file system, kernel, memoty etc.). You probably will find there what you need. This program is not installed automatically, you should add it manually by checking corresponding checkbox in Windows setup.
If you need programmatically to access these values you can get them from registry. I don't remember what are key and value names but if you need it i can find them.

Roman.
Avatar of simonet
You can buidl your program using the component in the link below (TRAS):

http://www.magsys.co.uk/delphi/

Alex
Avatar of pede

ASKER

Hi ALex

I had a look at it, but I think it only works with dial up connections. Mine is a LAN connection. Correct me if Im wrong (regarding the component, not my connection ;)

/Pede

Avatar of pede

ASKER

Roman,

I tried to install the tool for network monitoring (can't remember the name). I doesn't seem to monitor anything else than remote users, and even then, not the amount of bytes received. If you know something I don't, please tell me.

/Pede

Check the NetMedic from http://www.ins-insoft.com/netmedic/freedownload.html.
It has modem call log which shows you the incoming/outcoming traffic.
ASKER CERTIFIED SOLUTION
Avatar of mjustin
mjustin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
pede are you still listening ?

I have a component for NT to handle PerfmonAPI. It's cool enough. So let me know if you need it......

Mahara, it's not for NT but for 95/98...

Regards,

Epsylon.