-
纯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
-
用socket实现服务端和客户端的通信。有各种命令,其命令类似linux的终端命令符...
用socket实现服务端和客户端的通信。有各种命令,其命令类似linux的终端命令符-Achieved with the socket server and client communication. There are various commands, the command similar to the linux terminal command Fu
- 2022-01-26 06:54:13下载
- 积分:1
-
网络僵尸3服务端代码Network Services zombie 3
网络僵尸3服务端代码Network Services zombie 3-side code-Network Services zombie 3-side code
- 2022-02-13 17:35:32下载
- 积分:1
-
一个简单的网络通信小程序,包括发送字符串,网络授时等
一个简单的网络通信小程序,包括发送字符串,网络授时等-A simple network of small procedures, including the transmission of the string, such as network time
- 2022-09-01 03:10:03下载
- 积分:1
-
创建与Borland Delphi电子邮件客户端
Creating an Email Client with Borland Delphi-Creating an Email Client with Borland Delphi
- 2022-02-21 15:32:25下载
- 积分:1
-
条码查询代码,包括客户端和服务器端
该代码实现了socket编程,客户端很好的完成了界面处理,实现简单;服务器端配置数据库,可以进行条码的插入、查询、删除等操作
- 2023-02-24 17:50:06下载
- 积分:1
-
spark小插件,实现与openfire的通信。开启你的插件之旅吧
spark小插件,实现与openfire的通信。开启你的插件之旅吧-spark a small plug-in, Implementation and openfire communication. Open your journey into plug-ins
- 2022-03-04 16:51:50下载
- 积分:1
-
一个简单的asp教程
一个简单的asp教程-a simple guide asp
- 2022-02-13 15:53:56下载
- 积分:1
-
epic quicksort algorithm
epic quicksort algorithm
- 2022-07-03 03:46:44下载
- 积分:1
-
315M或413M普通无线发送接受模块的发送和接收过程。
315M或413M普通无线发送接受模块的发送和接收程序。也就是最便宜那种通信模块。-315M or 413M accept ordinary wireless sending module for sending and receiving procedures. That is, the cheapest kind of communication module.
- 2023-02-24 16:25:03下载
- 积分:1