dan lo department of computer science and software...

Post on 18-Feb-2020

0 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Dan LoDepartment of Computer Science and Software 

EngineeringSouthern Polytechnic State University

ObjectivesStep‐by‐step instructions for software development with Winpcap on MS Visual Studio C++Download and intsall Winpcap developer packSet paths for header (pcap.h) and library (wpcap.lib)Build and test the program

Download Winpcap Developer's Packs

http://www.winpcap.org/devel.htmDownload WinPcap 4.1.1 Developer's PackUncompress it to the desired folder 

We need to download 

the developer pack!

Remember where you store the 

file.

Make sure you 

remember where you dump!

Create a new 

project.

Here I show a basic function (pcap_lookupdev) to test if the system setting is correct, and 

ready for you to develop something complex!

This  source is not right here. Don’t copy it. What’s important is setting correct project properties 

here☺

This program will retrieve all network 

devices in the system!

There are 3 network devices found!

top related