Click here to Skip to main content
15,867,568 members
Articles / Programming Languages / C++
Article

Simple Packet Sniffer in VC++ .NET

Rate me:
Please Sign up or sign in to vote.
3.07/5 (8 votes)
26 Jan 2005CPOL 100.8K   4.1K   17   13
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

Introduction

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.

Background

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 maszup@o2.pl.

History

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

Enjoy!

License

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


Written By
Poland Poland
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

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

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.