首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C/C++/VC++ > pcap-handler

pcap-handler

  • 资源大小:10.34 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: pcaphandler

资 源 简 介

PcapHandler version 0.0.1 11/09/2009 - Ronh About: This c++ code example is a basic c++ wrapper around libpcap (WinPcap). libpcap allows users to easily capture packets being sent and received via network interface. Usage: Specific lipcap calls are encapsulated in their own class, PcapHandler, while users can easily create an instance of the class that initializes and basically does the dirty work. You will have to derive your own class though, and define the virtual function int ParsePacket(void). See main.cpp and main.h for more information. Compiling and running: I used the MinGW port of gcc, plus the library WinPcap. Run make in the project"s root directory. You will also have to install the WinPcap driver (if running under windows) to be able to capture packets. License: Public domain. History: (11/09/2009) 0.0.1 Basic functionality. Captures TCP/IP packets, extracts thei

文 件 列 表

PcapHandler
.hg_archival.txt
Makefile
Session.vim
build
settings.ini
obj
placeholder
readme.txt
src
bitwise.cpp

相 关 资 源

VIP VIP
0.236542s