文件名称:Resolution_Ip_Package
- 所属分类:
- Internet/网络编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 47kb
- 下载次数:
- 0次
- 提 供 者:
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
捕获网络中的IP数据包,解析数据包的内容,将结果显示在标准输出上,并同时写入日志文件。
程序的具体要求如下:
1)以命令行形式运行:ipparse logfile,其中ipparse是程序名, 而logfile则代表记录结果的日志文件。
2)在标准输出和日志文件中写入捕获的IP包的版本、头长度、服务类型、数据包总长度、数据包标识、分段标志、分段偏移值、生存时间、上层协议类型、头校验和、源IP地址和目的IP地址等内容。
3)当程序接收到键盘输入Ctrl+C时退出。
-capture of IP network data packets, packet analysis, the results show that the standard output. and at the same time into the log file. Procedures for the specific requirements are as follows : a) to run on the command line : ipparse logfile. which is ipparse programs, and logfile on behalf of record results log file. 2) In the standard output and log files were written into the IP packet capture versions, the first length, type of service, packet length, packets logo, subparagraph signs subparagraph offset values, the survival time, upper layer protocol type, and the first check, source IP address and destination address. 3) When the procedures to receive keyboard input Ctrl C aborted.
程序的具体要求如下:
1)以命令行形式运行:ipparse logfile,其中ipparse是程序名, 而logfile则代表记录结果的日志文件。
2)在标准输出和日志文件中写入捕获的IP包的版本、头长度、服务类型、数据包总长度、数据包标识、分段标志、分段偏移值、生存时间、上层协议类型、头校验和、源IP地址和目的IP地址等内容。
3)当程序接收到键盘输入Ctrl+C时退出。
-capture of IP network data packets, packet analysis, the results show that the standard output. and at the same time into the log file. Procedures for the specific requirements are as follows : a) to run on the command line : ipparse logfile. which is ipparse programs, and logfile on behalf of record results log file. 2) In the standard output and log files were written into the IP packet capture versions, the first length, type of service, packet length, packets logo, subparagraph signs subparagraph offset values, the survival time, upper layer protocol type, and the first check, source IP address and destination address. 3) When the procedures to receive keyboard input Ctrl C aborted.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
解析IP数据包.cpp
解析IP数据包.exe
解析IP数据包.exe