-
windows 网络连接编程
windows 网络连接编程-windows network programming
- 2023-07-22 00:55:03下载
- 积分:1
-
用VB做的网站
把服务器和网页集成在一起了
值得学习哦
用VB做的网站
把服务器和网页集成在一起了
值得学习哦-Using VB to do the website and web server integrated together to learn Oh
- 2022-01-25 22:43:35下载
- 积分:1
-
这freemed传真传输接口,并利用hylaf发送传真…
This the FreeMED fax transmission API, and is used to send faxes using the HylaFax fax system
- 2022-07-03 17:05:51下载
- 积分:1
-
可以获取局域网IP、MAC、用户名
可以获取局域网IP、MAC、用户名- May gain local area network IP, MAC, user
- 2022-02-25 21:07:39下载
- 积分:1
-
VC++集成环境下TCP的发展
用VC++集成环境开发的基于TCP的网络应用程序,包括服务器端和客户端。-VC++ integrated environment with the development of TCP-based network applications, including server-side and client-side.
- 2022-01-22 04:34:48下载
- 积分:1
-
This article is about a client/server multi
This article is about a client/server multi-threaded socket class.
- 2023-06-18 11:25:03下载
- 积分:1
-
获取本机网卡的mac地址
获取本机网卡的mac地址- Gains this machine net card the mac address
- 2022-02-02 13:10:02下载
- 积分:1
-
线程的创建、销毁和调度本身就是一个成本,如果线程的线程…
线程的创建、销毁和调度本身是有代价的,如果一个线程的任务相对简单,那这些时间和空间开销就不容忽视了,此时用线程池就是更好的选择,即创建一些线程然后反复利用它们,而不是在完成单个任务后就结束。-thread creation, destruction and scheduling itself is a cost, if the threads of a relatively simple task. That time and space costs can not be ignored, this time using thread pool is the better choice, namely, the creation of some thread then reuse them, rather than individual tasks completed after the end.
- 2022-02-05 08:49:42下载
- 积分:1
-
自动更新源码,可以实现程序的自动更新。它通过比较网页的版本号来确定程序是否要更新。...
自动更新源码,可以实现程序的自动更新。它通过比较网页的版本号来确定程序是否要更新。-updater
- 2023-08-23 11:00:04下载
- 积分: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