-
纯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 LAN chat procedure, a procedure LAN chatting a LAN chat procedures a LAN Chat Program
- 2022-03-20 20:37:36下载
- 积分:1
-
Sirocom based java source code
基于java的vpn源代码-Sirocom based java source code
- 2022-06-17 21:30:55下载
- 积分:1
-
多线程端口扫描
一个代码很规范的程序,实现对目标IP的主机进行端口扫描,其中线程数在程序中内嵌,无法自定义。可以自定义要扫描的端口号,有操作界面,操作简单,运行流畅,不会出现运行过慢的情况,不会卡顿,很好的例子。源码中有详细的注释。
- 2022-10-20 18:05:04下载
- 积分:1
-
这部分源码是实现linux下路由器的编码,以及功能实现(一)
这部分源码是实现linux下路由器的编码,以及功能实现(一)-this source is under linux router code and Function (1)
- 2022-12-31 02:30:03下载
- 积分:1
-
csma/cd 模拟 其余的自己看吧
csma/cd 模拟 其余的自己看吧-csma/cd simulate the rest of their own and see
- 2022-04-09 23:13:55下载
- 积分:1
-
TCP文件传输协议的客户端功能实现(JAVA编写)
TCP文件传输协议的客户端功能实现(JAVA编写)-TCP File Transfer Protocol client functions (JAVA prepared)
- 2023-08-22 01:50:03下载
- 积分:1
-
本程序使用vc6.0开发,它实现了WINDOWS下的WEB服务器,能够解析asp脚本...
本程序使用vc6.0开发,它实现了WINDOWS下的WEB服务器,能够解析asp脚本-This procedure used vc6.0 development, it implements the WINDOWS under the WEB server that can resolve asp script
- 2022-03-10 19:37:36下载
- 积分:1
-
Windows程序的源代码
windows wininet source code
- 2022-02-25 20:56:56下载
- 积分:1
-
在网络中,使用IPC$拷贝文件并添加系统任务,在指定时间内执行。...
在网络中,使用IPC$拷贝文件并添加系统任务,在指定时间内执行。-the network, the use of the IPC $ copy files and add the system and to the implementation within the specified time.
- 2022-03-30 16:13:17下载
- 积分:1