登录

于 2022-03-03 发布 文件大小:46.91 kB
0 233
下载积分: 2 下载次数: 1

代码说明:

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, th

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

发表评论

0 个回复

  • mac osc平台下Xcode,Objective
    mac osc平台下Xcode编程,Objective-C编写的网络通信程序-mac osc platforms Xcode programming, Objective-C to prepare the network communication program
    2022-05-31 15:09:17下载
    积分:1
  • 做多客户端与服务器端的双向通信,采用QLocalSocket/QLocalServer实现起来简单,但通信效率太低,客户端发数据,服务器端的readyRead信...
    做多客户端与服务器端的双向通信,采用QLocalSocket/QLocalServer实现起来简单,但通信效率太低,客户端发数据,服务器端的readyRead信号延时约100ms(看QT源码,发现里面用的是100ms定时器来检测信号),后来自己照着QLocalSocket的思路封装了windows的命名管道,采用多线程来接收数据,在本机上测试通过,通信效率有明显改善。-To do more client and server-side two-way communication, using QLocalSocket/QLocalServer to achieve them simple, but the communication efficiency is too low, the client made the data, the server-side readyRead the signal delay of about 100ms (see QT source code found inside using a 100ms timer device to detect the signal), and later their shining QLocalSocket encapsulates the idea of windows named pipes, using multiple threads to receive data, tested on this machine, the communication efficiency has clearly improved.
    2022-05-28 11:28:15下载
    积分:1
  • 这是一个用VC写的网络通信序,有两个服务器和端口,可以实现相互通信。使用时请注意修改IP地址...
    这是一个用VC编写的网络通信程序,有两个服务器和端口,可以实现相互通信。使用时请注意修改IP地址-This is a VC prepared by the network communication procedures, and the two-port server can achieve mutual communication. When used to change IP addresses
    2022-04-22 19:33:04下载
    积分:1
  • vc实现通过的域名查找
    vc实现通过的域名查找程序-vc achieve the domain name search procedures
    2022-02-28 20:48:44下载
    积分:1
  • 代理服务器(Proxy Server)软件是一种常用的网络软件,常用于网吧、学校、公司等使用局域网的机构中。代理服务器的功能是接受过个客户端的网络请求,分析请求...
    代理服务器(Proxy Server)软件是一种常用的网络软件,常用于网吧、学校、公司等使用局域网的机构中。代理服务器的功能是接受过个客户端的网络请求,分析请求的内容,从远程的服务器上获取信息后返回给客户计算机。本例实现一个比较简单的HTTP代理服务器程序。-proxy server (Proxy Server) software is a common network software commonly used in Internet cafes, schools, companies use LAN institutions. Proxy server function is accepted-client network request, analyze the content of the request from the remote server access to the information and returned to the client computer. The cases to achieve a relatively simple HTTP proxy server.
    2023-07-09 18:25:03下载
    积分:1
  • books on CD
    在书籍的光盘上复制下来的代码 这个是用Winsock技术实现的聊天室-books on CD-ROM copy down the code is Winsock technology chat room
    2022-08-18 14:07:07下载
    积分:1
  • FLASH source material
    FLASH素材源码-打包流行时尚时装矢量 打包流行时尚时装矢量-FLASH source material-packaged vector fashion fashion packaged vector bundles vector fashion fashion fashion fashion packaged vector bundles fashion fashion Vector
    2022-07-25 04:21:47下载
    积分: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
  • 论坛
    论坛- Forum
    2022-03-31 11:20:38下载
    积分:1
  • 流量统计
    以流量统计为主,没有抓底层的mac地址,抓了上层的包,并统计各个端口的数据流量。
    2022-11-02 22:30:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载