Click here to Skip to main content
11,928,352 members (48,024 online)
Click here to Skip to main content
Add your own
alternative version


17 bookmarked

Simple Packet Sniffer in VC++ .NET

, 26 Jan 2005 CPOL
Rate this:
Please Sign up or sign in to vote.
This is my first program. I hope it will be useful for someone who wants to write sniffer using WinPcap library.
Sample Image - Sznyfer.jpg


This is my first big program in Visual C++. You can download a packet sniffer which grabs packets from local interface and analyses headers. It also writes headers into the log file.


You must have WinPcap library and .NET installed on your machine. You can download it from here.

Points of Interest

I'm a beginner in Visual, interested in C/C++ programming and digital signal processing. Please write to me if you have any suggestions. My email is


  • 27.01.2005: I put in order using operators "new" and "delete" and uploaded code again.
    I changed Polish comments to English.



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


About the Author

Poland Poland
No Biography provided

You may also be interested in...

Comments and Discussions

General"fatal error C1021: invalid preprocessor command 'using' Pin
ghassan24117-Aug-07 6:12
memberghassan24117-Aug-07 6:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.151126.1 | Last Updated 26 Jan 2005
Article Copyright 2005 by maszup
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid