-
纯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
-
一个非常优秀的开源cms,OpenCms中文使用说明手册
一个非常优秀的开源cms,OpenCms中文使用说明手册-an excellent open source cms, OpenCMS Chinese use manual
- 2022-01-25 16:59:28下载
- 积分:1
-
RAS高级编程是一个RAS拨号程序高级开发,通过该程序不经能够实现电话拨号功能,还能实现如adsl、网通等拨号功能,还能够监控modem或者网卡的网络流量,绝对
RAS高级编程是一个RAS拨号程序高级开发,通过该程序不经能够实现电话拨号功能,还能实现如adsl、网通等拨号功能,还能够监控modem或者网卡的网络流量,绝对是一个值得读者学习的程序。-RAS high-level programming is a RAS digit dialing procedure
high-level development, after cannot realize the telephone digit
dialing function through this procedure, but also can realize like
adsl, the net passes and so on the digit dialing function, but also
can monitor modem or the net card network current capacity, absolutely
is the procedure which is worth the reader studying.
- 2022-05-09 02:15:59下载
- 积分:1
-
This is an API based on their own definition of ClientSocket Packaging base clas...
这是一个基于API自己定义的ClientSocket封装基类。-This is an API based on their own definition of ClientSocket Packaging base class.
- 2023-06-20 21:50:03下载
- 积分:1
-
采用完成端口进行sockets操作。 由浅入深的解释、详细的分析、以及编码步骤,另外附上带有详细注释的源码(为了照顾大多数朋友,我提供的都是MFC的源码)。...
采用完成端口进行sockets操作。 由浅入深的解释、详细的分析、以及编码步骤,另外附上带有详细注释的源码(为了照顾大多数朋友,我提供的都是MFC的源码)。-completed using sockets for port operations. Elementary explanation, detailed analysis, and coding steps, the other with detailed explanatory note attached to the source code (in order to take care of most friends, and I are all for the MFC source).
- 2022-02-14 10:13:18下载
- 积分:1
-
我收集的C++ builder编写socket的文章.
我收集的C++ builder编写socket的文章.-I collected C builder prepared socket article.
- 2022-02-07 08:21:21下载
- 积分:1
-
网上人才招聘系统,有助于企事业单位在网上与人才招聘的互动。...
网上人才招聘系统,有助于企事业单位在网上与人才招聘的互动。-online recruitment system will help enterprises on the Internet and talent recruitment of interaction.
- 2022-03-25 10:03:27下载
- 积分:1
-
ace_http_post_example
ACE_HTTP_POST_Example
- 2022-10-30 07:35:03下载
- 积分:1
-
MFC点对点聊天实例
该程序使用socket进行通信,使用了TCP和UDP,同时通过OpenCV打开摄像头,并通过上面所说的UDP进行了视频图像的传输。由于本机上只有一个摄像头,而摄像头是独占设备,尚未在多台机器上测试。代码显得简单粗糙,但是其中的某些源代码和大体思想我相信还是可以给大家一些帮助的。
- 2022-04-24 14:26:24下载
- 积分:1
-
ARQ三个基本算法,算法实现,大家可以修改使用
ARQ三个基本算法,算法实现,大家可以修改使用-ARQ three basic algorithms, Algorithm, we can use changes
- 2022-06-17 18:12:31下载
- 积分:1