-
纯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
-
A simple port scanner ... ... multi
一个简单的端口扫描程序...多线程...适合初学者学习-A simple port scanner ... ... multi-threaded for beginners to learn
- 2022-06-28 10:45:18下载
- 积分:1
-
这是java程序的
HeadersServlet.java
这是java程序的
HeadersServlet.java-This is the procedure HeadersServlet.java
- 2022-03-18 12:20:08下载
- 积分:1
-
采用HTTPGET方法进行文件下载,可以任意添加下载项目
采用HTTPGET方法进行文件下载,可以任意添加下载项目 -HTTPGET methods used to download files, you can download any item to add
- 2023-06-06 13:50:03下载
- 积分:1
-
在ASP.NET中存取图片到数据库的示例
在ASP.NET中存取图片到数据库的示例-in ASP.NET Photo access to the database example
- 2022-08-17 02:03:05下载
- 积分:1
-
这是一个基于VC6.0 CSocket套接字开发的简单文本通信程序,对网络初学者有一定参考价值。
这是一个基于VC6.0 CSocket套接字开发的简单文本通信程序,对网络初学者有一定参考价值。-This is a VC6.0 CSocket socket on the development of simple text communications procedures, the network has a certain reference value for beginners.
- 2022-08-21 09:25:08下载
- 积分:1
-
一个服务器端,两个客户端:student和teacher两者权限不一,更能不一;能进行简单的选课、发送通知等功能...
一个服务器端,两个客户端:student和teacher两者权限不一,更能不一;能进行简单的选课、发送通知等功能-a server, two clients : student and teacher competence of the two different and more mixed; Can a simple classes, sent notification function
- 2022-03-10 10:50:40下载
- 积分:1
-
取得计算机网卡物理地址的步骤:1)列举所有的网卡2)分别重置每块卡以取得它的正确信息3)查询网卡,取得MAC地址...
取得计算机网卡物理地址的步骤:1)列举所有的网卡2)分别重置每块卡以取得它的正确信息3)查询网卡,取得MAC地址-made computer card physical address steps : 1) lists all the card 2), respectively replacement every piece of card to obtain the correct information 3) card inquiries made MAC address
- 2022-01-25 23:46:29下载
- 积分:1
-
上课的时候用VB编写的文件传输的技巧,有利于初级者学习
上课的时候用VB编写的文件传输的技巧,有利于初级者学习-class of VB paper prepared by the transmission of skills and a conducive learning primary. .
- 2022-05-08 06:58:03下载
- 积分:1
-
即时聊天(服务器和客户端)
简单的tcp/ip 通讯协议,详尽的客户端和服务端 接受和发送信息。可以在线IM交流、建立会议室(可以设置密码),会员(密码、头像等信息)和部门实现在线管理。 Server/Client分别为服务端和客户端,设置服务端可以实现在线管理,默认端口号10000。 数据库采用的是Access
- 2022-03-18 03:00:07下载
- 积分:1