-
线程安全实例。该程序说明线程安全问题。该例子实现的功能与多线程并发服务器实例的类似,但增加了一个客户数据存储功能,即服务器将存储每个连接客户所发来的所有数据,当...
线程安全实例。该程序说明线程安全问题。该例子实现的功能与多线程并发服务器实例的类似,但增加了一个客户数据存储功能,即服务器将存储每个连接客户所发来的所有数据,当连接终止后,服务将显示客户的名字及相应的数据。-thread safety examples. Description of the procedures for the security thread. The examples of the functions and multi-threaded server with similar examples, but the addition of a customer data storage function, which is to store each server will connect customers come in all the data, when connected after termination of service customers will show the names and corresponding data.
- 2022-01-22 03:51:50下载
- 积分:1
-
Sniffer 程序.可以监视IE里传输的各种网址.
Sniffer 程序.可以监视IE里传输的各种网址.-Sniffer source code , can monite the address appared in IE
- 2022-03-03 04:30:08下载
- 积分:1
-
Internet Client Management System (2004 graduate design FOSS)
网吧管理系统客户端(2004年毕业设计源码)-Internet Client Management System (2004 graduate design FOSS)
- 2022-01-20 23:19:14下载
- 积分:1
-
高的
高质量文件传输,界面开发的文件传输软件,可以方便的传输文件,速度快,而且支持大文件-high-quality file transfer, interface development of file transfer software that can facilitate the transmission of documents, faster, but also supports large files
- 2022-02-15 06:22:48下载
- 积分:1
-
一个很好的UDP协议监视器,能动态监视局域网的所有机器
一个很好的UDP协议监视器,能动态监视局域网的所有机器-a good UDP monitors, dynamic monitoring of all machines LAN
- 2022-02-11 13:09:00下载
- 积分:1
-
如何使用VB来编写一个属于自己的浏览器。
如何使用VB来编写一个属于自己的浏览器。-how to use VB to prepare an own browser.
- 2022-03-20 19:09:01下载
- 积分:1
-
* The procedure is a simple port scanning procedures, the use of TCP socket* fol...
* 本程序是一个简单的端口扫描程序,使用TCP SOCKET * 依次试连接目标主机的端口,以此判断端口开放与否。 * 程序设计上使用了线程池,共100个线程。-* The procedure is a simple port scanning procedures, the use of TCP socket* followed test objectives mainframe connectivity ports in order to judge whether to open ports.* Procedures for the use of the design thread pool, a total of 100 threads.
- 2023-07-24 10:50:03下载
- 积分:1
-
局域网中查看各个终端的磁盘信息的小程序。主要是网络socket编程...
局域网中查看各个终端的磁盘信息的小程序。主要是网络socket编程-See all LAN terminals disk information applets. Network socket programming is mainly
- 2022-08-03 01:22:06下载
- 积分:1
-
这是一个基于API自己定义的可以用来解析自己定义协议的一个Socket数据解析类。...
这是一个基于API自己定义的可以用来解析自己定义协议的一个Socket数据解析类。-This is a definition based on its own API can be used to interpret the definition of their agreement a Socket data analytic category.
- 2023-05-17 08: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