Click here to Skip to main content
16,016,157 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
How can I find code to capture the packets on my machine(windows 7),I work for graduation project which is about port scan detection.
The first step to detect a scan is analyzing of captured packets.
Posted

 
Share this answer
 
v2
If you want to capture packets on a machine, look to using the WinPcap library.
http://www.winpcap.org/[^]
 
Share this answer
 
Comments
Espen Harlinn 5-Jul-11 20:06pm    
Nice link, My 5
Albert Holguin 5-Jul-11 20:37pm    
thanks espen :)
I used winpcap but no use of that there are too many errors
 
Share this answer
 
Comments
Richard MacCutchan 9-Jul-11 6:58am    
What errors? Please don't expect people to guess what your problem is. You need to explain in detail what you are doing and what problems you are having, including the exact text of any error messages that you see.

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