-
一个简单的聊天工具,可以实现多个用户同时上线聊天,目前已实现在局域网可以聊天.这是客户端程序....
一个简单的聊天工具,可以实现多个用户同时上线聊天,目前已实现在局域网可以聊天.这是客户端程序.-A simple chat tool, multiple users can chat on-line at the same time, the current can be realized in the local area network chat. This is the client program.
- 2022-09-06 06:30:03下载
- 积分: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
-
网络文件拷贝动态连接库 实现共享文件夹和FTP文件夹拷贝
网络文件拷贝动态连接库 实现共享文件夹和FTP文件夹拷贝-network file copy DLL shared folders and folders to copy FTP
- 2022-03-20 01:31:40下载
- 积分:1
-
Visual C++网络与数据库编程百例
包括全部源代码
Visual C++网络与数据库编程百例
包括全部源代码-Visual C Network and Database Programming 100 cases, including all source code
- 2022-01-30 23:32:00下载
- 积分:1
-
一个小巧的PHP+mysql的留言板源码,非常简练美观
一个小巧的PHP+mysql的留言板源码,非常简练美观-A compact PHP+ Mysql message board source code is very concise and beautiful
- 2022-03-21 06:01:49下载
- 积分:1
-
VisualC++实现网络
VisualC++实现的网络-网页爬虫程序源代码-VisualC++ Realize the network- the page source code reptiles
- 2023-04-07 05:35:04下载
- 积分:1
-
微软的底层网络程序演示代码:iparp、ipchange、ipconfig、iprenew、iproute、ipstat。...
微软的底层网络程序演示代码:iparp、ipchange、ipconfig、iprenew、iproute、ipstat。-Microsoft"s demonstration of the underlying network programming code : iparp, ipchange, show you your, iprenew, iproute, ipstat.
- 2022-06-15 11:15:20下载
- 积分:1
-
数据传输的源代码
数据传输程序代码-data transmission code
- 2023-05-02 16:35:07下载
- 积分:1
-
windows socket编程详细讲解。自己整理的 ,网上不可能有的。
windows socket编程详细讲解。自己整理的 ,网上不可能有的。-explain in detail the windows socket programming. Finishing their own, on-line can not.
- 2022-05-08 02:12:54下载
- 积分:1
-
自动网络升级的代码
自动网络升级的代码-Automatic network upgrade code
- 2022-03-25 15:47:50下载
- 积分:1