-
这是一个简单的socket编程的例子,它是基于TCP协议的,从中可以看出用TCP建立连接时客户端和服务器端的程序流程,可以用来测试本地环路。...
这是一个简单的socket编程的例子,它是基于TCP协议的,从中可以看出用TCP建立连接时客户端和服务器端的程序流程,可以用来测试本地环路。-This is a simple example of the programming socket, which is based on TCP, can be seen with the establishment of TCP connections client and server-side program flow can be used to test the local loop.
- 2022-01-26 02:22:56下载
- 积分:1
-
实现通常代理服务器的基本功能。可以通过简单的参数设置实现网络中各客户端机器共享代理上网,同时可以监控网络状况。...
实现通常代理服务器的基本功能。可以通过简单的参数设置实现网络中各客户端机器共享代理上网,同时可以监控网络状况。-proxy server usually achieve the basic functions. Through a simple set of parameters to achieve the network client machines to share Internet access agents, but can also monitor network status.
- 2022-11-26 12:10:03下载
- 积分:1
-
JAVA脚本源代码,一些很流行的代码,试用于初学者
JAVA脚本源代码,一些很流行的代码,试用于初学者-Java script source code, some of the very popular code, use it on beginners
- 2022-05-22 23:05:15下载
- 积分: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
-
主要是简单的service聊天程序,可以增加、删除等,分为客户端和服务器端...
主要是简单的service聊天程序,可以增加、删除等,分为客户端和服务器端-The main service is a simple chat program, you can add, delete and so on, is divided into client and server
- 2022-04-26 13:21:12下载
- 积分:1
-
TCP/IP基本知识, 含有详细介绍. 可以作为详细网络驱动的起点.
TCP/IP基本知识, 含有详细介绍. 可以作为详细网络驱动的起点.-TCP/IP basic knowledge, which contains a detailed introduction. Can be used as a starting point for detailed network drive.
- 2022-10-11 01:30:02下载
- 积分:1
-
firefox系列,扩展编程之四,又一个简单例子。
firefox系列,扩展编程之四,又一个简单例子。-series, extended programming 4, a simple example.
- 2022-02-10 15:33:01下载
- 积分:1
-
简单的聊天软件
简单的聊天软件,基于TCP/IP协议,使用MFC CSocket类编写,分为客户端和服务器端两部分,适合初学者学习
- 2022-09-15 05:40:03下载
- 积分:1
-
基于Socket的网络文件传输的例子,更简洁,容易下…
基于Socket TCP的网络文件传输例子,比较精练,简单易懂,对网络编程入门者有参考作用。-based on Socket TCP network file transfer example, more concise and easily understood. Network Programming for beginners as a useful reference.
- 2023-04-20 00:55:03下载
- 积分:1
-
5大IO模型之一:select模型,介绍selectio的一般流程
5大IO模型之一:select模型,介绍selectio的一般流程-five large IO model one : select models, introduced the general process compo
- 2022-01-25 21:14:35下载
- 积分:1