-
This is c++ Access to online resources, examples, used to obtain weather forecas...
这是c++获取网上资源的例子,用来获取天气预报-This is c++ Access to online resources, examples, used to obtain weather forecasts
- 2023-01-31 21:45:04下载
- 积分:1
-
asp source code, online message board, the latest development of the absolute ea...
asp源代码,网上留言板,最新开发的绝对好用。-asp source code, online message board, the latest development of the absolute ease of use.
- 2022-03-11 08:50:28下载
- 积分:1
-
TCP的P2P文件传输(C++)对于新手学习TCP协议,以帮助更好地
TCP p2p文件传输(C++) 对于新手学习TCP协议,有较好的帮助-TCP p2p file transfer (C++) for the novice to learn TCP protocol, to help better
- 2022-05-21 02:30:18下载
- 积分:1
-
网络状态检测程序,可以分析数据包内容,可以借鉴一下。
网络状态检测程序,可以分析数据包内容,可以借鉴一下。-network performance testing procedures, analyze data packets, we can learn some lessons from.
- 2023-06-01 22:15:03下载
- 积分:1
-
程序由C语言编写,功能为实现点分十进制和二进制IP地址的转换,并判断IP类型...
程序由C语言编写,功能为实现点分十进制和二进制IP地址的转换,并判断IP类型-Procedures by the C language, functions to achieve the dotted-decimal and binary IP address translation, and to determine the type of IP
- 2022-08-18 22:19:15下载
- 积分:1
-
完全用Struts做的用户注册系统一个Jbuilder8工程 StrutsRegister1.0 先建立数据库,导入test.sql 打开Jbuilder8,导
完全用Struts做的用户注册系统一个Jbuilder8工程 StrutsRegister1.0 先建立数据库,导入test.sql 打开Jbuilder8,导入所有的包(在Lib)目录底下 本注册系统只是一个测试,功能不全,但所用的技术全是Struts1.0的 详细情况请参考http://jakarta.apache.org/struts/index.html-Struts done entirely by the user registration system works a Jbuilder8 StrutsRegister1.0 first establish a database into open test.sql Jbuilder8, import all the packets (Lib) Contents Under the registration system is only a test, dysfunction, but the technology used by all Struts1.0 For details, please refer http://jakarta.apache.org/struts/index.html
- 2022-12-26 03:30:03下载
- 积分:1
-
Brute force attack. The whole zero
穷举法。整钱零找的算法 例如100元可以换出几个10元 几个20元 几个5元-Brute force attack. The whole zero-finding algorithm such as money, 100 yuan to 10 yuan for a few number of 20 yuan a few 5 yuan
- 2022-03-06 06:27:37下载
- 积分:1
-
vc实现udp传输实例,属于客户端。
vc实现udp传输实例,属于客户端。-vc achieve udp transmission example, belong to the client.
- 2022-03-25 23:02:07下载
- 积分:1
-
计算校验和
校验和算法描述:为保证网络上传输的数据的可靠性,在许多协议中都设置了校验和项,例如:IPv4、ICMPv4、IGMPV4、ICMPv6、UDP...
计算校验和
校验和算法描述:为保证网络上传输的数据的可靠性,在许多协议中都设置了校验和项,例如:IPv4、ICMPv4、IGMPV4、ICMPv6、UDP和TCP 等等。计算这些校验和的算法称为网际校验和算法,简单来说就是:把被校验的数据16位进行累加,然后取反码,若数据字节长度为奇数,则数据尾部补一个字节的0以凑成偶数。
由于从输入文件读入的数据不能直接满足计算校验和的条件,所以首先对从文件读入缓冲区的数据进行预处理,即读入缓冲区时忽略空格。由于累加是按16位进行的,所以每次从缓冲区中读出4个字符,并将字符转换成对应的16进制数字,如此依次累加,直至数据全部读完。
还有一种情况,即如果数据长度为奇数个字节,则需要判断,并补0累加。程序中利用的是缓冲区长度计数器i和当前读取到计数器j判断数据长度是否为奇数。即如果数据长度为偶数,则读完数据时当前读取到计数器j的值应与缓冲区长度i相等,而如果数据长度为奇数,则读完数据时,当前读取到计数器j>缓冲区长度i,此时需将缓冲区中剩余的两个字符读出,并补0,转换成相应16进制数以后参与累加。
当累加结束后,将累加和的16位以上数据位移下再进行一次累加,并对最后累加和取反即得所求校验和。
-calculated checksum checksum algorithm Description : To ensure the network transmission of data reliability, in many of the agreements are set up and calibration, for example : IPv4, ICMPv4, IGMPV4, ICMPv6. UDP and TCP so on. Calculating checksum algorithm called the Internet checksum algorithm, the simple answer is : as has been the calibration data for 16 cumulative, and then take the anti-code, if the data byte length of the odd, data will make up the tai
- 2022-01-26 06:39:03下载
- 积分:1
-
语音电话高级编程是一个通过调制解调器来进行语音电话开发的程序,相信读者一定会感兴趣。 本程序需要调制解调器的支持,否则可能失败 需要调制解调器支持语音传输,本程...
语音电话高级编程是一个通过调制解调器来进行语音电话开发的程序,相信读者一定会感兴趣。 本程序需要调制解调器的支持,否则可能失败 需要调制解调器支持语音传输,本程序在子弹头 调制解调器下调试通过,通话时通过麦克风和话筒 来进行。-Voice Telphony Advance Coding descript How to program though a mode, we conside many reader shoud be insterest this..
- 2023-07-12 11:25:02下载
- 积分:1