-
prg5_2.c : UDP客户。该程序通过命令行参数输入服务器IP地址和发给服务器的信息,然后执行UDP套接字客户端的基本过程。...
prg5_2.c : UDP客户。该程序通过命令行参数输入服务器IP地址和发给服务器的信息,然后执行UDP套接字客户端的基本过程。-prg5_2.c : UDP customers. The program command line parameter input server IP addresses and the information sent to the server, then the implementation of UDP socket client the basic process.
- 2022-02-18 16:12:15下载
- 积分:1
-
查看HOTMAIL邮件的源代码
查看HOTMAIL邮件的源代码-See HOTMAIL e-mail source code
- 2022-06-19 12:46:23下载
- 积分: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
-
一套不错的TCP/IP编程指导,对几乎所有人都有指导意义。大家来看下...
一套不错的TCP/IP编程指导,对几乎所有人都有指导意义。大家来看下-A good TCP/IP programming guide, almost everyone has a guiding significance. Under the U.S. point of view
- 2022-01-23 10:09:55下载
- 积分:1
-
一个非常不错的网络通讯程序,是用VC++6.0编写的,非常非常的好用,对想学网络编程的朋友非常有帮助...
一个非常不错的网络通讯程序,是用VC++6.0编写的,非常非常的好用,对想学网络编程的朋友非常有帮助-A very good network communication procedures, is to use VC 6.0 prepared, very, very easy to use, and want to learn network programming friends very helpful
- 2023-06-14 22:40:29下载
- 积分:1
-
网络僵尸3.0服务端VC代码,需要的朋友下载后可以研究
网络僵尸3.0服务端VC代码,需要的朋友下载后可以研究-Web 3.0 services zombie VC client code, the need for friends to download can be studied after
- 2023-08-27 21:05:04下载
- 积分:1
-
简单的FTP服务器,只支持匿名访问,
直接装文件夹拖到该文件上即可打开以此文件夹为根目录的FTP服务...
简单的FTP服务器,只支持匿名访问,
直接装文件夹拖到该文件上即可打开以此文件夹为根目录的FTP服务-Simple FTP server, only support anonymous. drag a directory onto it will open an FTP server root at that directory
- 2022-12-27 08:15:03下载
- 积分:1
-
WINSOCK简单介绍
WINSOCK简单介绍-briefed Winsock
- 2022-01-30 20:12:05下载
- 积分:1
-
上面两个程序用的通用代码,包括数据压缩
上面两个程序用的通用代码,包括数据压缩 -The general code used by above two app, including compression
- 2022-06-27 22:22:35下载
- 积分:1
-
VB language TCPIP data communications
VB语言实现tcpip数据通讯-VB language TCPIP data communications
- 2022-02-05 16:37:55下载
- 积分:1