-
信使小精灵,是一个简易的聊天工具。主要是演示了网络编程的主要步骤。本程序使用封装好的函数库,使得应用层不需要考虑网络消息是如何被接受和发送的,也不需要考虑数据粘...
信使小精灵,是一个简易的聊天工具。主要是演示了网络编程的主要步骤。本程序使用封装好的函数库,使得应用层不需要考虑网络消息是如何被接受和发送的,也不需要考虑数据粘包和丢包的刺手问题,你只要调用相应的函数就可以了。函数库为你做好了这些工作。你只需要定义自己的协议头和消息结构体,定义好网络消息的回调函数就可以了。-messenger elf is a simple chat tools. A major demonstration is the main network programming steps. The programs use Packaging good libraries, makes application layer need not consider the network news is how it has been accepted and sent, and do not need sticky packets of data and packet loss of a thorn in hand, as long as you call the corresponding function on it. Functions well as your work. You only need to define its own agreement head and the structure of news, the definition of a good network news callback function on it.
- 2022-01-26 00:49:46下载
- 积分:1
-
I was doing a small program to send multicast! ! ! ! ! ! ! ! ! ! ! ! !
一个我在做得组播发送的小程序-I was doing a small program to send multicast! ! ! ! ! ! ! ! ! ! ! ! !
- 2022-05-07 19:01:12下载
- 积分:1
-
一个tcp点对点聊天程序
一个tcp点对点聊天程序- Tcp point-to-point chats the procedure
- 2023-04-01 18:45:03下载
- 积分:1
-
监听网络上的数据报!
监听网络上的数据报!-eavesdropping on the network reported data!
- 2022-11-20 10:30:03下载
- 积分:1
-
通过件包头信息和管理员设定的规则表比较,读出并拒绝那些不符合标准的包,过滤掉不应入站的信息。...
通过件包头信息和管理员设定的规则表比较,读出并拒绝那些不符合标准的包,过滤掉不应入站的信息。 -Through the pieces of header information and administrators set the rules of table comparison, and refused to read out those who do not meet the standard package, should not filter out the information into the station.
- 2022-05-14 02:47:02下载
- 积分:1
-
一个简单的Socket带外数据程序(客户端和服务器程序)
一个简单的Socket带外数据程序(客户端和服务器程序)-a simple Socket-band data (client and server)
- 2022-05-26 10:14:21下载
- 积分:1
-
这是一个基于API自己定义的Socket封装基类。
这是一个基于API自己定义的Socket封装基类。-This is a definition based on its own API Socket Packaging base class.
- 2022-10-25 02:20:03下载
- 积分:1
-
纯ALOHA协议
在该协议下,用户只要有帧产生,就会传送出去,发生冲突时,就等待一个随机时间后再重发。
所以对当前帧时,只有两种情况下可以发送成功:...
纯ALOHA协议
在该协议下,用户只要有帧产生,就会传送出去,发生冲突时,就等待一个随机时间后再重发。
所以对当前帧时,只有两种情况下可以发送成功:
1)当前帧时只有一帧要发送,且当前帧时的前一帧时无帧发送;
2)当前帧时只有一帧要发送(发送时刻为t),且前一帧时的最后一帧的发送时间不在(t- FRAMETIME)~ t这段时间内。
其他情况下都会产生冲突。
发生冲突时,错误帧继续传送,用户重新发送帧,设定一个随机数Rt,将该帧添加到第Rt/ FRAMETIME帧时上去,并设该帧的相对时间为Rt% FRAMETIME。这样即相当于用户等待一随机时间后重发。
对每一帧时进行上述控制,最终可得到成功发送的次数Suc,将其除以Suc = Suc /ARRAYLENGTH即得平均每帧时发送成功的帧数。
对于不同G,得到不同FrameArray,所得的Suc也不同,用一个数组来保存G与Suc的对应关系,再将其画出来。
-pure ALOHA agreement under the agreement, as long as users have a frame, it will transmit out, conflict, will wait for a random period of time before re-issued. Therefore, the current frame, there are only two circumstances can this success : 1) the current frame only one to send, and the current frame before one-time frame sent; 2) the current frame only to send a (t this moment), but before a final of a transmission time not (t-FRAMETIME) ~ t this time. Other cases will have conflict. Conflict, to continue to disseminate the wrong frame, users re-sending fram
- 2022-01-21 18:08:46下载
- 积分:1
-
可以得到网页中的链接信息,欢迎大家下载使用,非常感谢
可以得到网页中的链接信息,欢迎大家下载使用,非常感谢-website can be linked information, we are happy to download, I would like to thank
- 2022-02-07 06:10:13下载
- 积分:1
-
20040703112632176局域网网络数据包分析,从事计算机网络开发工程师...
20040703112632176局域网网络数据包分析,从事计算机网络开发工程师-20040703112632176 LAN network packet analysis, engaged in the development of computer network engineer
- 2023-06-24 22:40:03下载
- 积分:1