文件名称:checkjiaoyan
- 所属分类:
- Internet/网络编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 27kb
- 下载次数:
- 0次
- 提 供 者:
- 李**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
1. 算法原理:当发送IP包时,需要计算IP报头的校验和:当接收IP包时,需要对报头进行确认,检查IP头是否有误,算法同上2、3步,然后判断取反的结果是否为0,是则正确,否则有错。
2. 实现功能:计算输入数据的校验和,以判断接收数据是否正确
-1. Algorithm principle : When sending IP packets, it needs to calculate the IP header checksum : When receiving IP packets. need to confirm reported first check whether the IP header error, the algorithm ditto two, three steps, then obtain judgment against the results of 0, it is correct, otherwise it is not true. 2. Implementation functions : calculate the checksum data entry and to judge whether the data correctly
2. 实现功能:计算输入数据的校验和,以判断接收数据是否正确
-1. Algorithm principle : When sending IP packets, it needs to calculate the IP header checksum : When receiving IP packets. need to confirm reported first check whether the IP header error, the algorithm ditto two, three steps, then obtain judgment against the results of 0, it is correct, otherwise it is not true. 2. Implementation functions : calculate the checksum data entry and to judge whether the data correctly
相关搜索: 校验和
(系统自动生成,下载前可以参看下载内容)
下载文件列表
checkjiaoyan
............\CheckSum.c
............\CHECKSUM.EXE
............\input1.txt
............\input2.txt
............\OUTPUT1.TXT
............\OUTPUT2.TXT
............\网际校验和编程文档.doc
............\CheckSum.c
............\CHECKSUM.EXE
............\input1.txt
............\input2.txt
............\OUTPUT1.TXT
............\OUTPUT2.TXT
............\网际校验和编程文档.doc