登录
首页 » Windows Socket编程 » socket队列、多线程通信功能多

socket队列、多线程通信功能多

于 2022-09-30 发布 文件大小:119.37 kB
0 141
下载积分: 2 下载次数: 1

代码说明:

socket队列、多线程通信功能多-socket, multi-threaded multi-functional communication

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 计算校验和 校验和算法描述:为保证网络上传输的数据的可靠性,在许多协议中都设置了校验和项,例如: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
  • 根据几个简单的规则模拟一组动物的运动
    Simulation of a pack of animals movement according to several simple rules
    2022-03-01 18:11:47下载
    积分:1
  • 用于下载文件,还可以用于更新网络文件,还可用于加密文件。...
    用于下载文件,还可以用于更新网络文件,还可用于加密文件。-Used to download files, but also can be used to update the network files, can also be used to encrypt files.
    2022-04-22 18:13:58下载
    积分:1
  • 能监视网卡的流量,包括上传和下载,可译成独立序发布...
    能监视网卡的流量,包括上传和下载,可编译成独立程序发布-Able to monitor card traffic, including uploading and downloading can be compiled into a stand-alone program released
    2023-05-05 23:45:02下载
    积分:1
  • 软件还不是很完善,支持ftp与http下载,断点、多线
    软件还不是很完善,支持ftp与http下载,断点、多线程-software is not perfect, ftp and http support downloaded breakpoints, multithreading
    2022-04-24 16:24:43下载
    积分:1
  • 使用Windows远终端协议RDP的工具,可以远访问Windows2000/Xp,和VNC类似,但功能强大,附带完整Source code....
    使用Windows远程终端协议RDP的工具,可以远程访问Windows2000/Xp,和VNC类似,但功能强大,附带完整Source code.-Windows remote terminal agreement RDP tools can be remotely accessed Windows2000/Xp and VNC similar, but powerful, fringe integrity Source code.
    2022-04-17 11:17:24下载
    积分:1
  • CSocket类数据接收存在的问题及Win32函数解决办法.CSocket类数据接收存在的问题及Win32函数解决办法!...
    CSocket类数据接收存在的问题及Win32函数解决办法.CSocket类数据接收存在的问题及Win32函数解决办法!-CSocket class data reception problems and Win32 function is a solution. CSocket class data reception problems and Win32 function is a solution!
    2022-11-25 22:55:03下载
    积分:1
  • 将网络驱动器映射为本地驱动的小序,.net2003译通过
    将网络驱动器映射为本地驱动的小程序,.net2003编译通过-network drive mapping for the local small-driven procedures. Net2003 compile
    2022-05-27 08:53:24下载
    积分:1
  • asp源码,实现了一个典型的留言板系统功能
    asp源码,实现了一个典型的留言板系统功能-asp source code to achieve a typical message board system
    2022-02-04 10:33:47下载
    积分:1
  • python command
    python版命令行端口扫描程序,源作者:djhui-python command-line version of port scanning procedures, the source Author: djhui
    2022-05-29 21:21:00下载
    积分:1
  • 696518资源总数
  • 106164会员总数
  • 18今日下载