-
a good introductory Java programming socket books. The book start with the basic...
一个不错的介绍JAVA socket编程的书籍。本书从基本开始,到更深的层次!-a good introductory Java programming socket books. The book start with the basics, to a deeper level!
- 2023-08-31 03:15:03下载
- 积分:1
-
实现滑动窗口协议
实现滑动窗口协议-achieve sliding window protocols
- 2022-10-24 09:10: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
-
purpose : structural frame for understanding the concept of network protocol, th...
目的:
构造帧对于理解网络协议的概念、协议执行过程,以及网络问题处理的一般方法具有重要的意义。本次练习的目的是通过数据链路层与介质访问控制层的学习,根据数据链路层的基本原理,针对普遍应用的Ethernet帧,通过构造一个具体的帧,引导同学深入理解网络协议的基本概念与网络问题处理的一般方法。
要求:
1、编写程序,根据给出的原始数据,组装一个IEEE802.3格式的帧。题目附带的文件为二进制原始数据(文件名分别为input1和input2),要求程序为命令行程序,比如可执行文件名为framer.exe,则命令行形式如下:
framer inputfile outputfile
inputfile为原始数据文件,outputfile为输出结果。
操作系统、使用语言和编译环境不限,但在交作业同时要求注明。
2、输出:对应input1和input2的结果分别为output1和output2
3、要有良好的编程规范和注释
4、写文档
-purpose : structural frame for understanding the concept of network protocol, the implementation of an agreement, network issues and the general approach has important significance. The purpose of the exercise through the data link layer and the MAC layer of learning, according to the data link layer to the basic principles against the universal application of the Ethernet frames, by constructing a concrete frame, to guide students in-depth understanding of network protocols and the basic concepts of network issues to deal with the general approach. Requi
- 2022-03-06 07:04:47下载
- 积分:1
-
一个简单在线日历的实现过程,利用asp开发。
一个简单在线日历的实现过程,利用asp开发。-a simple online calendar of the implementation process, using asp development.
- 2022-04-17 00:57:29下载
- 积分:1
-
聊天程序 客户端和服务端进行交互的 ,多用户可以聊天
聊天程序 客户端和服务端进行交互的 ,多用户可以聊天-Chat programs and services to the client-side interactive, multi-user chat
- 2023-01-17 01:00:05下载
- 积分:1
-
用pop3收信,解决收取gmail邮件要使用ssl的问题
用pop3收信,解决收取gmail邮件要使用ssl的问题-Use pop3 Shouxin, receive gmail email address you want to use ssl problem
- 2022-05-27 06:45:28下载
- 积分:1
-
high
高速,高容量,多种网络之间E-MAIL电子邮件的储存.修补等的C语言开发的软件,共有31种功能-high-speed, high-capacity, multi-network E-MAIL e-mail storage. Patch the development of the C-language software, there are 31 functions
- 2022-03-24 22:18:03下载
- 积分:1
-
网络共享 网络共享 网络共享
网络共享 网络共享 网络共享-Network-sharing networks to share network-sharing networks to share network share
- 2022-03-31 15:01:34下载
- 积分:1
-
CallBack c++
vc 6
回调
CallBack c++
vc 6
回调-CallBack c vc 6 callback
- 2022-06-28 18:15:02下载
- 积分:1