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

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

于 2022-01-21 发布 文件大小:43.55 kB
0 274
下载积分: 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 个回复

  • VC++ smtp send mail source to support the authentication server to find for a lo...
    VC++ smtp发送邮件源码,支持服务器验证的,找了很久,很多都是没有用户名密码验证,这个可以-VC++ smtp send mail source to support the authentication server to find for a long time, many of them are not user name password authentication, this can be
    2022-02-26 07:38:55下载
    积分:1
  • smtp
    实现网络抓包 与相关的功能 显示网卡 并且采用state模式编写-smtp
    2023-06-01 08:30:03下载
    积分:1
  • 这是我自己做的局域网内进行多播 通信的代码,打开时请先打开服务器段 才可正常运行。...
    这是我自己做的局域网内进行多播 通信的代码,打开时请先打开服务器段 才可正常运行。-This my own LAN within multicast communication code, opened post of the open server can run normally.
    2022-01-25 23:38:20下载
    积分:1
  • 类似Windows的netstat序的
    类似Windows的netstat程序的程序 -An app which is like to windowss netstat
    2022-02-28 11:14:55下载
    积分:1
  • VB的TCP聊天工具将服务端与客户端分开写,使用机器需先打开服务端,再在远机器使用客户端连接...
    VB的TCP聊天工具将服务端与客户端分开编写,使用机器需先打开服务端,再在远程机器使用客户端连接-VB TCP chatting tool services and client-prepared separately, the use of machines need to open the server, then the remote machine using the client
    2023-04-28 15:00:03下载
    积分:1
  • 迷你小
    超小迷你留言本 v3.0 修正版 一发表页和首页合并,使界面更美观简洁 二增加了防止远程提交功能. 三限制了留言字数,禁止了留言复制 四解决了感叹号等特殊字符引起的表格变形 五解决了输入脚本引起的问题 六对管理口令进行了MD5加密,使系统更安全 七增加了修改管理员口令功能.-small mini-messages that the v3.0 version of a published page and the homepage merger so simple interface more beautiful 2 to increase the distance to prevent functional. 3 limits the number of words in messages. prohibit the voice reproduction 4 solve the Exclamation mark, and other special characters form deformation caused by the 5 solve the importation arising from the script that 6 to the management of MD5 password encryption, allowing the system more secure 7 revised increase administrator password function.
    2022-01-28 11:14:00下载
    积分:1
  • senior network programming a book supporting source. We own this season. Nothing...
    网络高级编程一书的配套源码。大家自已看吧。没有什么好介绍的。-senior network programming a book supporting source. We own this season. Nothing about.
    2023-03-20 18:15:04下载
    积分:1
  • socks5简易实现
    socks5简易实现-socks5 simple realizes
    2022-02-25 19:14:35下载
    积分:1
  • Tang Yong 局域网象棋对弈序利用了阻塞模式Socket(38KB) 大家支持一下下哈~...
    Tang Yong 局域网象棋对弈程序利用了阻塞模式Socket编程(38KB) 大家支持一下下哈~-LAN chess players use of the procedures obstruction Socket programming model (38KB) under what we support Kazakhstan ~
    2022-03-18 15:48:17下载
    积分:1
  • G.723语音码介绍及优化 语音码分成波形码、参数码和混合码.波形码就是语音信号形成的波形进行处理和加工,参数码是以语音信号产生的数字模型为基础,...
    G.723语音编码介绍及优化 语音编码分成波形编码、参数编码和混合编码.波形编码就是语音信号形成的波形进行处理和加工,参数编码是以语音信号产生的数字模型为基础,求出其模型参数,然后按照这些参数还原数字模型,合成语音。混合编码是综合了波形编码和参数编码的长处,在4-16kbps的速率上进行高质量的语音合成。例如多脉冲激励线性预测编码(MPLPC),码本激励线性预测编码(CELP)都是混合编码。-G.723 speech coding and optimization of voice introduced into coding waveform coding, coding parameters and mixed coding. Waveform voice signal is encoded form of waveform handling and processing, encoding parameters based on the voice signal to digital model based on its model parameters calculated, and then it these parameters reduction digital model, synthetic voice. Mixed coding is integrated waveform coding and coding parameters of the merits of the 4-without compromising the audio on the rate of high-quality speech synthesis. For example, multi-pulse Excited Linear Predictive Coding (MODIFIED), the Code Excited Linear Predictive Coding (CELP) are mixed coding.
    2022-08-18 14:54:38下载
    积分:1
  • 696518资源总数
  • 106227会员总数
  • 11今日下载