文件名称:mysniffer
- 所属分类:
- Internet/网络编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 16kb
- 下载次数:
- 0次
- 提 供 者:
- 莫**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
程序中需要设置套接字的属性SIO_RCVALL,而SIO_RCVALL属性在文件mstcpip.h中定义。mstcpip.h是微软用于处理TCP/IP协议的一个头文件,这里面包含了WinSockets一系列相关函数,该文件在platform SDK套件中,该头文件在vc6.0中没有。
本项目中给出了该文件的内容。
编写sniffer程序的另一个方法是在文件中使用#define直接定义SIO_RCVALL。源文件中给出了#define SIO_RCVALL _WSAIOW(IOC_VENDOR,1)
二种方法选一个
vc6.0下编译运行即可,屏幕显示捕获的包的信息
-Procedures need to set up a socket attribute SIO_RCVALL, and SIO_RCVALL attributes defined in the document mstcpip.h. mstcpip.h is used to deal with Microsoft TCP/IP protocol, a header file, which contains WinSockets inside a series of related function, the file in the platform SDK package, the header files in vc6.0 not. This project is given the contents of the document. Procedures for the preparation of sniffer Another option is to use in the document# Define directly the definition of SIO_RCVALL. Source file is given# Define SIO_RCVALL _WSAIOW (IOC_VENDOR, 1) two kinds of methods of election of a compiler to run under vc6.0 can, screen display information packet capture
本项目中给出了该文件的内容。
编写sniffer程序的另一个方法是在文件中使用#define直接定义SIO_RCVALL。源文件中给出了#define SIO_RCVALL _WSAIOW(IOC_VENDOR,1)
二种方法选一个
vc6.0下编译运行即可,屏幕显示捕获的包的信息
-Procedures need to set up a socket attribute SIO_RCVALL, and SIO_RCVALL attributes defined in the document mstcpip.h. mstcpip.h is used to deal with Microsoft TCP/IP protocol, a header file, which contains WinSockets inside a series of related function, the file in the platform SDK package, the header files in vc6.0 not. This project is given the contents of the document. Procedures for the preparation of sniffer Another option is to use in the document# Define directly the definition of SIO_RCVALL. Source file is given# Define SIO_RCVALL _WSAIOW (IOC_VENDOR, 1) two kinds of methods of election of a compiler to run under vc6.0 can, screen display information packet capture
(系统自动生成,下载前可以参看下载内容)
下载文件列表
mysniffer
.........\checksum.h
.........\mstcpip.h
.........\mysniffer.dsp
.........\mysniffer.dsw
.........\mysniffer.ncb
.........\mysniffer.opt
.........\mysniffer.plg
.........\phead.h
.........\sniff.cpp
.........\checksum.h
.........\mstcpip.h
.........\mysniffer.dsp
.........\mysniffer.dsw
.........\mysniffer.ncb
.........\mysniffer.opt
.........\mysniffer.plg
.........\phead.h
.........\sniff.cpp