-
发送消息的小程序 如同NET SEND 最适合局域网中 发送消息
发送消息的小程序 如同NET SEND 最适合局域网中 发送消息-messaging small NET SEND procedure as the most suitable for LAN messaging
- 2022-07-10 23:08:00下载
- 积分:1
-
多线程非
Multithreaded Non-blocking Socket Server and Client, Based on Synchronized Socket
- 2022-02-14 03:13:32下载
- 积分:1
-
netnew, date of establishment, is entirely in Chinese, customers can convenientl...
网页特效,日期的设置,是全中文的,可以方便客户浏览网页时注意看时间-netnew, date of establishment, is entirely in Chinese, customers can conveniently browse the website to see when the time
- 2022-07-27 09:19:42下载
- 积分:1
-
简单的FTP服务器和客户端程序,可以实现简单通讯。
简单的FTP服务器和客户端程序,可以实现简单通讯。-Simple FTP server and client programs, you can realize simple communication.
- 2022-05-19 15:37:26下载
- 积分: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
-
众神之战服务端源代码,有兴趣的拿去研究下,还不错
众神之战服务端源代码,有兴趣的拿去研究下,还不错-Battle of the Gods server source code, are interested in research under taken, but also good
- 2022-06-19 09:10:58下载
- 积分:1
-
一个可以检测网络连接状况并能查询当日各大城市的天气状况的程式...
一个可以检测网络连接状况并能查询当日各大城市的天气状况的程式-can detect an Internet connection and check the date of the major cities in weather conditions formula
- 2022-01-25 23:18:15下载
- 积分:1
-
java基本的几个小程序.关于web开发的,最基本的代码 新手看
java基本的几个小程序.关于web开发的,最基本的代码 新手看-discribtion of java web
- 2022-05-30 15:16:14下载
- 积分:1
-
Message Board procedures, in the basic functionality has increased, more practic...
留言板程序,在基础功能之上有所增加,比较实用-Message Board procedures, in the basic functionality has increased, more practical
- 2022-07-13 02:23:43下载
- 积分:1
-
本程序只对一个IP地址进行,如果要对一段IP进行测试,简单修改程序即可。可将发送放在单独的进程 里(使用fork()),send_icmp里做成循环,每次重新初...
本程序只对一个IP地址进行,如果要对一段IP进行测试,简单修改程序即可。可将发送放在单独的进程 里(使用fork()),send_icmp里做成循环,每次重新初始化struct sockaddr_in。那么对接收到的数据 进行分析的proc_icmp()将多一道对IP报头ip->src字段的判断。-this procedure only a pair of IP addresses, IP to a test, a simple change procedures. This can be placed on a separate process (the use of fork ()), causing Lane send_icmp cycle, each re-initialization struct sockaddr_in. Then Butt received the data analysis proc_icmp () will more than one pair of IP header ip-gt; Src field judgment.
- 2023-06-22 05:20:03下载
- 积分:1