Click here to Skip to main content
15,902,893 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to make an application that would capture all the packets that a certain programs sends or receives over the internet. Basically on port 80 or the TCP protocol.

I have no idea where to start, i looked at winpcap but it is in c/c++ and I am not comfortable with it. Also there is a wrapper library called pcap.net but thee problem is that they capture packets on the network not for a specific application. Also pcap/winpcap works only when there is a network card, I use mobile modem and it doesn't work there.

Any solutions?
Posted

1 solution

You can't capture packets of an application.

You'd have to look at everything, then filter what you've got based on the port the application was listening to.

WinPCap and PCap.NET are the easiest libraries to use. If you can't use them, well...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900