-
Network Programming for Windows
书源代码
(source code)
Network Programming for Windows
书源代码
(source code)-Network Programming for Windows source code book (SOU rce code)
- 2022-05-06 10:36:55下载
- 积分:1
-
choice Retransmission Agreement receiving end procedures, network protocol progr...
选择重传协议接收端程序,网络协议编程实例,能够很好的理解网络编程的意义-choice Retransmission Agreement receiving end procedures, network protocol programming examples, can understand the significance of Network Programming
- 2022-03-10 14:43:12下载
- 积分: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
-
重叠模型,客户端和服务器
overlapped model ,client and server
- 2022-04-02 02:05:41下载
- 积分:1
-
多用多
VC编写的多线程下载工具,支持HTTP/FTP、多线程、断点续传,图形显示下载进度,MFC界面。-VC prepared by multi-threaded downloading tool to support HTTP/FTP, multi-threaded, HTTP, graphic display download progress, MFC interface.
- 2022-01-26 07:53:59下载
- 积分:1
-
p-持续CSMA协议下,一个用户在发送之前,先侦听信道,若是空闲,就以概率p发送出去,而以q =1-p的概率推迟到下一帧时。如果下一帧时仍是空闲,便再次以概率p发送而以q推迟到再下一帧时。直到发送成功或另外一用户开始发送时为止。若一开始就侦听到信道忙,它就等到下一帧时,然后再开始上述过程。若发生冲突,这等待一随机时间后重新开始。本实验中取q值为0.5。求的是0.5-持续CSMA。
-p-persistent CSMA agreement, a user before sending the first interception channel, if idle, with probability p sent, and to q = 1-p probability postponed to the next frames. If the next frame was still idle, they again sent with probability p and q to further postponed to the next frames. Until this a success or other users at the beginning of this date. If an interception at the start of the busy channel, it will wait till the next frames, and then begin the process. If conflict breaks out, waiting for a random period of time after the re-start. The experiments take q value of 0.5. For the 0.5-sustained CSMA.
- 2022-02-07 21:49:23下载
- 积分:1
-
dynamic link library in the form of network communication client code
以动态链接库的形式实现网络通讯中的客户端代码-dynamic link library in the form of network communication client code
- 2022-01-27 16:50:46下载
- 积分:1
-
一个很好的网络拨号程序的VC6代码,可以监视拨号网络的流量。支持各种拨号设备...
一个很好的网络拨号程序的VC6代码,可以监视拨号网络的流量。支持各种拨号设备-a good network of dial-up procedures VC6 code, can monitor the flow of dial-up network. Dial-support equipment
- 2022-09-27 12:50:02下载
- 积分:1
-
a Windows
一个基于Windows的网络连接显示类VC
- 2022-02-22 05:09:26下载
- 积分:1
-
简易SOCKET编程。供有需要的人们使用,谢谢合作
简易SOCKET编程。供有需要的人们使用,谢谢合作-Easy SOCKET programming. The needs of the people to use, thank cooperation
- 2022-10-19 11:40:02下载
- 积分:1