Click here to Skip to main content
13,558,022 members
Click here to Skip to main content
Add your own
alternative version


17 bookmarked
Posted 26 Jan 2005
Licenced CPOL

Simple Packet Sniffer in VC++ .NET

, 26 Jan 2005
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

Questionwhy not use netmon API? Pin
Anonymous16-Apr-05 1:07
sussAnonymous16-Apr-05 1:07 
AnswerRe: why not use netmon API? Pin
Vertilka The Blue27-Nov-07 2:21
memberVertilka The Blue27-Nov-07 2:21 

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.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03-2016 | 2.8.180515.1 | Last Updated 26 Jan 2005
Article Copyright 2005 by maszup
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid