登录
首页 » Windows Socket编程 » 纯ALOHA协议 在该协议下,用户只要有帧产生,就会传送出去,发生冲突时,就等待一个随机时间后再重发。 所以对当前帧时,只有两种情况下可以发送成功:...

纯ALOHA协议 在该协议下,用户只要有帧产生,就会传送出去,发生冲突时,就等待一个随机时间后再重发。 所以对当前帧时,只有两种情况下可以发送成功:...

于 2022-01-21 发布 文件大小:43.55 kB
0 343
下载积分: 2 下载次数: 1

代码说明:

纯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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Supermarket management system enables a simple interface for basic management fu...
    超市管理系统 能够实现基本的管理功能 界面简单-Supermarket management system enables a simple interface for basic management functions
    2022-02-10 09:02:17下载
    积分:1
  • 利用WINSOCK的通信协议 用VC++
    利用WINSOCK的通信协议 用VC++编写-WINSOCK use the communication protocol used VC++ Prepared
    2022-05-18 05:19:38下载
    积分:1
  • 纯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
  • BCB 环境下WHOIS协议的实现CLA
    BCB 环境下WHOIS协议的实现CLA-BCB Environment WHOIS protocol realize CLA
    2023-08-05 20:35:03下载
    积分:1
  • Oh, it can use this to write your own procedures for the netstat
    呵呵,可以用此来编写你自己的netstat程序了-Oh, it can use this to write your own procedures for the netstat
    2022-03-22 08:19:25下载
    积分:1
  • 个人脚本收藏(Myjs).rar
    个人脚本收藏(Myjs).rar-personal collection of scripts (Myjs). Rar
    2022-05-18 03:13:10下载
    积分:1
  • monsoon flow statistics system
    季风流量统计系统-monsoon flow statistics system
    2023-05-08 23:25:02下载
    积分:1
  • dsdfsdf alsdfj asdfj asdfj L;askdjfasdf
    Afasdfasdfasdfasdfasdfasdkl;fjasl;fjal;sdj fkl;asdjfl;as fl;kasjd fl;Afasdfasdfasdfasdfasdfasdkl;fjasl;fjal;sdj fkl;asdjfl;as fl;kasjd fl;Afasdfasdfasdfasdfasdkl asdkl;fjal;sdj fkl;asdjfl;as fl;kasjd fl;sdj fkl;asdjfl;asdjfl;as fl;kasjd fl;Afasdfasdfasdfasdkl asdkl asdkl;fjasl;fjal;fjal;sdj fkl;asdjfl;as fl;kasjd fl;afasdfasdfasdfasdfasdfasdfasdkl;fjasl;fjal;sdj fkl;asdjfl;as fl;kasjd fl;afasdfasdfasdfasdfasdfasdkl asdkl;fjasl;fjal;fjall;as fl;kasjd fl;afasdfasdfasdfasdfasdfasmdasdkl asdkl asdkl;fjall;asjfl;asdfasdfasdfasdfasdkl asdkl;fjasl;sdj fkl;asdjfl;as fl;kasjd fl;asjd fl;afasdfasdfasdfasdfasdkl asdkl asdkl;fjasl;fjal;sdj fkl;asdjfl;as fl;kasjd fl;Afasdfasdfasdfasdfasdfasdkl;fjasl;fjal;sdj fkl;asdjfl;as fl;kasjd fl;Afasdfasdfasdfasdfasdkl;fjal;Sdjfl;asdjfl;as fl;kasjd fl;Afasdfasdfasdfasdfasdfasdkl asdkl;fjal;fjasl;fjal;fjal;Sdjfl;as fl;kasjd fl;Afasdfasdfasdfasdfasdfasdkl asdkl;fjasl;fjal;sdj fkl;
    2022-04-24 19:58:15下载
    积分:1
  • 序由C语言写,功能为实现点分十进制和二进制IP地址的转换,并判断IP类型...
    程序由C语言编写,功能为实现点分十进制和二进制IP地址的转换,并判断IP类型-Procedures by the C language, functions to achieve the dotted-decimal and binary IP address translation, and to determine the type of IP
    2022-08-18 22:19:15下载
    积分:1
  • 面美观的文字聊天序vc开发。 socket,selcet模型!
    面美观的文字聊天程序vc开发。 socket,selcet模型!-surface appearance of text chat program vc development. Socket, selcet model!
    2022-03-28 20:09:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载