-
windows Socket进行文件传输
windows Socket进行文件传输-for file transfer
- 2022-07-24 07:53:27下载
- 积分:1
-
该系统是一个
本系统是一个基于ASP的公交线路查询系统,可以为用户提供线路查询,站点查询,地名查询,换乘查询,地名注册等功能,另外还为管理员添加了添加线路,添加或更改站点,删除线路或站点,修改线路信息,地名录入等功能-the system is an ASP-based bus line query system, able to provide users with line inquiries, site inquiries, names inquiries, transfer inquiries, name registration functions, but also for administrators to add a line to add, add or modify site, delete lines or sites, modify Line Road information, such as names Input Function
- 2023-02-27 16:15:03下载
- 积分:1
-
一个使用MAPI发送邮件的例子,推荐下载
一个使用MAPI发送邮件的例子,推荐下载--An example of using MAPI to send the mail,recommend
- 2022-11-16 09:45:03下载
- 积分: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
-
内含2份关于权限管理的付费论文和一份基于RBAC的权限管理设计...
内含2份关于权限管理的付费论文和一份基于RBAC的权限管理设计-Intron 2 of the pay-rights management on the papers and a RBAC-based design of rights management
- 2022-05-13 05:52:19下载
- 积分:1
-
vc+网络初学者的资料!vc+网络初学者的资料
vc+网络初学者的资料...
vc+网络初学者的资料!vc+网络初学者的资料
vc+网络初学者的资料-vc information network beginners! Vc network beginners information vc information network beginners
- 2022-08-09 16:32:06下载
- 积分:1
-
mySniff网络监控源码。学习VC++网络必看的程序。
mySniff网络监控源码。学习VC++网络必看的程序。-Network Monitoring mySniff source. Learning VC++ Network procedures must-see.
- 2023-02-14 13:50:03下载
- 积分:1
-
我自己的函数库,使编程更加容易。大家能够喜欢
我自己的函数库,使编程更加容易。大家能够喜欢-My own library to make programming easier. Everyone can love
- 2023-02-14 21:20:03下载
- 积分:1
-
SERVEUR-CLIENT
c语言的服务器和客户机源代码,使开发人员易于实现服务器和客户机之间的连接;
- 2022-04-23 20:57:08下载
- 积分:1
-
窗户照射进来的插座在I/O(输入/输出)应用运营管理的…
在 Wi n d o w s套接字应用程序中对 I / O(输入/输出)操作进行管理。Wi n s o c k分别提供了“套接字模式”和“套接字 I / O模型” ,可对一个套接字上的 I / O行为加以控制。其中,套接字模式用于决定在随一个套接字调用时,那些 Wi n s o c k函数的行为。而另一方面,套接字模型描述了一个应用程序如何对套接字上进行的 I / O进行管理及处理。-Wi ndows socket at the application of I/O (input/output) operations management. Provide the Wi nsock " socket model" and the " socket I/O model" may be a socket on the I/O to control behavior. Among them, the model used to determine the socket with a socket call in, those acts of the Wi nsock function. On the other hand, describes the socket model how an application on the socket I/O for the management and treatment.
- 2022-03-01 23:49:02下载
- 积分:1