Monitor Traffic IN/OUT of my PC
I want to write a simple little app that just logs some of the traffic in and out of my computer, but am not sure about where to start looking to tackle this problem. How do I capture outgoing data from my computer? Are there any API functions that would simplify this? Thanks in advance!
Just use a packet sniffer like Ethereal.
Darkhaven Beta-test stage coming soon.
August 26, 2003 07:36 PM
I think they might be trying to do something like finding out which ports are in use by which programs. I don''t think ethereal tells you directly which programs are actually using which ports.
August 26, 2003 08:27 PM
netstat -ao tells you which ports are in use by which processes, the -o switch that lists the PIDs isn''t on win98 but seems to be on NT/XP/etc. based systems. I''m not sure what API or driver calls would be used to do this, however.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement