-
纯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 的学习,适合新手,代码也挺详细,欢迎学习讨论-socket of the study, suitable for novice, the code is also quite detailed, welcomed the study and discussion
- 2022-05-15 11:09:59下载
- 积分:1
-
我的大二作业程序,计算机网络socket编程,实现两个人之间互相传文件。...
我的大二作业程序,计算机网络socket编程,实现两个人之间互相传文件。-my sophomore year operating procedures, computer network socket programming, two people between traditional documents.
- 2023-06-10 02:50:04下载
- 积分:1
-
一个简单的多任务的FTP服务器及相应的客户端程序FTP client/server...
一个简单的多任务的FTP服务器及相应的客户端程序FTP client/server -a simple multi-task of FTP servers and corresponding client FTP client/se Tiger
- 2022-09-10 14:40:02下载
- 积分:1
-
clientudp
clientUDP
-clientUDP
- 2022-01-26 06:34:40下载
- 积分:1
-
本人课程实验做的一个基于winpcap的网络嗅探器,附源程序,用c开发,在vc++6.0下编译通过。它可以列出监视主机的所有的网卡,选择一个网卡进行监听,捕获并...
本人课程实验做的一个基于winpcap的网络嗅探器,附源程序,用c开发,在vc++6.0下编译通过。它可以列出监视主机的所有的网卡,选择一个网卡进行监听,捕获并显示流经网卡的数据包,并做相应的分析和统计,还可以设置捕获过滤规则,就某种协议(ip、 tcp、 udp 等)进行重点分析。
-I do a course experiments based on the WinPcap network sniffer, with source code, using c development, in vc++ 6.0 compiler passed under. It can list all the host surveillance network card, select a card to monitor, capture and display data packets flowing through the network card and do the appropriate analysis and statistics, can also set filters to capture the rules of some sort of agreement on the (ip, tcp , udp, etc.) the focus of analysis.
- 2022-10-29 07:30:03下载
- 积分:1
-
年底大放送,比IE更好的浏览器源码,16岁少年写的。经典力作。...
年底大放送,比IE更好的浏览器源码,16岁少年写的。经典力作。-talk about the end, better than IE browser source code, the 16-year-old boy wrote. Classical Masterpiece.
- 2022-03-25 06:27:50下载
- 积分:1
-
自己的火车售票系统欢迎指导大家下载我的软件…
自己编的一个火车售票系统,欢迎大家下载指点我的软件- Own arrange a train booking system, welcome everybody downloading to direct my software 【上载源码成为会员下载此源码】【成为VIP会员下载此源码】-Own a train ticketing system are welcome to instruct everyone to download my software- Own arrange a train booking system, welcome everybody downloading to direct my software [upload source to become a member download the source code] [become a VIP member to download this source]
- 2022-06-20 23:03:32下载
- 积分:1
-
实现远程监控设备的数据采集与维护主要实现如下功能:登记,通道选择,实时监控,录像,保存,播放,快速/慢速播放,暂停/恢复,单帧播放/单帧回放,抓图功能,分辨率设...
实现远程监控设备的数据采集与维护主要实现如下功能:登记,通道选择,实时监控,录像,保存,播放,快速/慢速播放,暂停/恢复,单帧播放/单帧回放,抓图功能,分辨率设置等功能-Remote monitoring equipment for data acquisition and maintenance of the main achieve the following functions: registration, channel selection, real-time monitoring, recording, save, play, fast/slow play, pause/resume, single-frame play/single-frame playback, drawings function, resolution setting and other functions
- 2022-08-19 17:12:40下载
- 积分:1
-
一个自定义的TcpExChannel组件,比原来自带的tcpChannel 方便好用,更具有深层操作性...
一个自定义的TcpExChannel组件,比原来自带的tcpChannel 方便好用,更具有深层操作性-a defined TcpExChannel components than the original onboard tcpChannel facilitate convenient, more deep operability
- 2022-03-18 08:46:05下载
- 积分:1