Click here to Skip to main content
11,718,016 members (82,949 online)
Click here to Skip to main content

Simple Packet Sniffer in VC++ .NET

, 26 Jan 2005 CPOL 74.8K 3.3K 17
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

QuestionHow to calculate Bit rate? Pin
Taran912-Mar-08 0:12
memberTaran912-Mar-08 0:12 
GeneralRe: How to calculate Bit rate? Pin
Taran912-Mar-08 1:34
memberTaran912-Mar-08 1:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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
Web04 | 2.8.150901.1 | Last Updated 26 Jan 2005
Article Copyright 2005 by maszup
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid