-
FTP服务端源码,有了他,自己编一个Server
FTP服务端源码,有了他,自己编一个Server-U,^_^-FTP server source code, with his own series of a Server-U, ^ _ ^
- 2022-02-06 08:07:15下载
- 积分:1
-
啧啧
TUT--最轻量级的C++单元测试框架
TUT是最简洁、最轻量级的C++单元测试框架。TUT是Template Unit Tests的缩写,是一个C++的单元测试框架
No C-style macros
No manual registration for test groups and methods
No libraries of any kind
Neutrality to user interface
No Javisms
-TUT- The most lightweight C++ Unit testing framework for TUT is the most concise, most lightweight C++ Unit testing framework. TUT is the abbreviation for Template Unit Tests is a C++ Of unit testing frameworks
- 2022-02-06 23:46:45下载
- 积分:1
-
Internet图片验证码系统
Internet图片验证码系统-Internet Image Verification Code System
- 2023-01-28 15:55:03下载
- 积分:1
-
achieve a peer
实现了P2P网络通信
可以穿越防火墙
分为服务器段和客户端-achieve a peer-to-peer network communications across the firewall can be divided into server and client
- 2022-06-13 12:35:04下载
- 积分:1
-
该程序主要实现文件上传和远程下载以及在本地浏览视频文件的...
该程序主要实现文件上传和远程下载以及在本地浏览视频文件的-the procedure main file uploads, and remote download and browse the local video files
- 2022-03-14 09:47:53下载
- 积分:1
-
socket编程的几篇和好的文章
socket编程的几篇和好的文章-socket programming and the few good articles
- 2022-02-10 12:27:08下载
- 积分: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
-
SMS WAP bookmarks set up procedures C source code using a user
SMS设置WAP书签 C 程序源码
方便用户的使用.
是个不错的源码.-SMS WAP bookmarks set up procedures C source code using a user-friendly. It is a good source.
- 2023-08-01 20:00:07下载
- 积分:1
-
一个不用IE内核的浏览器程序,IE的一般的简单的功能都能实现。...
一个不用IE内核的浏览器程序,IE的一般的简单的功能都能实现。-do not have a core of the IE browser procedures, the general IE simple function can be materialized.
- 2022-08-14 08:51:47下载
- 积分:1
-
This topic for the realization of a TCP protocol using multi
此题目为实现一个采用TCP协议实现多线程的web server.即使用操作系统提供的多线程库实现多线程并发服务器具体要求为,在浏览器中输入 http://127.0.0.1:6789/index.html 可正确显示纯html文件index.html-This topic for the realization of a TCP protocol using multi-threaded web server. That is, the use of multi-threaded operating system to provide multi-threaded concurrent database server to achieve the specific requirements for the browser, type in http://127.0.0.1:6789/index.html can correctly display pure html file index.html
- 2022-10-24 14:25:03下载
- 积分:1