网络仿真-1-持续的CSMA

所属分类:网络编程
开发工具:Visual C++
文件大小:47KB
下载次数:103
上传日期:2005-11-03 13:31:58
上 传 者onlyfang
说明:  1-持续CSMA协议下,当一个用户要发送数据时,它首先侦听信道,看是否有其他站点在传送。如果信道忙,就持续等待直到信道空闲时,便将数据送出。若发生冲突,就等待一个随机长的时间,然后重新侦听。 对于这种协议,先考虑当前帧i时的前一帧时i-1,得到前一帧时的最后一帧frame0(相对时间最大的帧)的相对时间dt0,然后再在当前帧时查看有哪些帧的相对时间会小于dt0,这些帧若是发送就会与frame0发生冲突,所以这些帧就进入持续等待状态,这些帧并没有发送。再考虑当前帧余下的帧(dt > dt0),它们中的第一帧侦听到信道处于空闲状态,所以就发送,而其他的帧由于第一帧的发送又处于等待状态。若有大于或等于2个帧的相对时间相等,且它们又同时侦听到信道空闲时,就会同时发送而导致冲突,冲突发生后的处理方法同上两个协议的一样。
(1- CSMA continued under the agreement, when a user to send data, it first interception Channel to see if there are other sites in transmission. If Channel busy, continuing to wait until the idle channel, and put more information out. If there is conflict, it is a long wait for a random time, then re-interception. Such agreements, to consider the current frame i am one of the former when i-1, be a time before the final one frame0 (relative to the time frame) the relative dt0 time, and then when the current frame to detect what the relative time frame will be less than dt0, these frames will be sent if and frame0 conflict, these frames would enter the state continued to wait, they do not send frames. Consider the current frame remaining frames (dt gt; Dt0), the interception of the first fra)

文件列表:
1-持续的CSMA\MainFrm.cpp (2510, 2005-06-04)
1-持续的CSMA\MainFrm.h (1581, 2005-06-04)
1-持续的CSMA\MProtocol.aps (28288, 2005-06-08)
1-持续的CSMA\MProtocol.ncb (123904, 2005-06-09)
1-持续的CSMA\MProtocol.plg (2316, 2005-06-08)
1-持续的CSMA\MProtocol.clw (2535, 2005-06-09)
1-持续的CSMA\MProtocol.cpp (4168, 2005-06-04)
1-持续的CSMA\MProtocol.dsp (4755, 2005-06-04)
1-持续的CSMA\MProtocol.dsw (541, 2005-06-04)
1-持续的CSMA\MProtocol.h (1389, 2005-06-04)
1-持续的CSMA\MProtocol.opt (55808, 2005-06-09)
1-持续的CSMA\MProtocol.rc (11264, 2005-06-05)
1-持续的CSMA\MProtocolDlg.h (1932, 2005-06-08)
1-持续的CSMA\MProtocolDoc.cpp (1802, 2005-06-04)
1-持续的CSMA\MProtocolDoc.h (1508, 2005-06-04)
1-持续的CSMA\MProtocolView.cpp (2158, 2005-06-04)
1-持续的CSMA\MProtocolView.h (1681, 2005-06-04)
1-持续的CSMA\Resource.h (687, 2005-06-04)
1-持续的CSMA\StdAfx.cpp (211, 2005-06-04)
1-持续的CSMA\StdAfx.h (1054, 2005-06-04)
1-持续的CSMA\MProtocolDlg.cpp (9243, 2005-06-08)
1-持续的CSMA\res\MProtocol.rc2 (401, 2005-06-04)
1-持续的CSMA\res\MProtocolDoc.ico (1078, 2005-06-04)
1-持续的CSMA\res\MProtocol.ico (1078, 2005-06-04)
1-持续的CSMA\res\Toolbar.bmp (1078, 2005-06-04)
1-持续的CSMA\res (0, 2005-07-22)
1-持续的CSMA (0, 2005-07-22)

近期下载者

相关文件


收藏者