-
一个很好的网络服务器程序, 说明了服务器的基本编程方式,并很好的说明了服务器多线程处理方式,对初学网络编程的朋友有很好的指导意义...
一个很好的网络服务器程序, 说明了服务器的基本编程方式,并很好的说明了服务器多线程处理方式,对初学网络编程的朋友有很好的指导意义-a good network server that the server"s basic programming, and a good example of a multi-threaded server approach to network programming when a friend is a good guide
- 2022-02-15 05:12:04下载
- 积分:1
-
开发研制的全双工套接字通信程序
一个用VC开发的全双工Socket通讯程序- The entire duplex Socket communication procedure which develops
with VC
- 2022-03-14 10:31:05下载
- 积分:1
-
含有接收、发送、服务三个线程的Socket程序
含有接收、发送、服务三个线程的Socket程序 -Three socket apps contains accept, send and server
- 2022-07-11 03:53:09下载
- 积分:1
-
一获得主机ip及主机名 代码,自动获得主机的IP以及主机名。
一获得主机ip及主机名 代码,自动获得主机的IP以及主机名。-an ip access mainframe and mainframe codes, automatic mainframe host name and IP.
- 2022-10-28 16:50:04下载
- 积分: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
-
一个TELNET客户端
一个TELNET客户端-A TELNET client
- 2022-03-25 20:47:31下载
- 积分:1
-
WINSOCK控件的调用实例,方便没有使用过winsock控件的人学习,快速掌握TCP编程...
WINSOCK控件的调用实例,方便没有使用过winsock控件的人学习,快速掌握TCP编程-Winsock Control calls example, did not use a convenient control protocols of the study and grasp the TCP programming
- 2022-02-01 15:19:37下载
- 积分:1
-
视频源码 视频源码 视频源码
视频源码 视频源码 视频源码-Video source video source video source video source video source
- 2023-07-17 05:30: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
-
(2)本地计算机网络接入计算机编程实例…
(2)本地计算机网络编程实例
获取计算机的名称和IP地址【chap2Local】
获取计算机的子网掩码【chap2 Local】
获取计算机的DNS设置【chap2 Local】
获取计算机的网卡地址【chap2 Local】
获取计算机安装的协议【chap2 Local】
获取计算机提供的服务【chap2 Local】
获取计算机的所有网络资源【chap2 Local】
修改本地计算机的所有网络设置【chap2 Local】
获取计算机TCP/IP协议的所有信息【chap2 Local】-(2) the local computer network access to computer programming examples of the names and IP addresses [ chap2 L ocal access to a computer-- Subnet Mask [ chap2 Local access to a computer-- installed DNS [ chap2 Local access to the computer-- the NIC address [ chap2 Local access-- the installation of computer [the agreement chap2 Local computer-- access services provided by the [ chap2 Local access to a computer-- all network resources [ chap2 Local-- amend local computer all network configuration [ chap2 Local computer-- access TCP/IP protocol all the information [ chap2 Local--
- 2023-06-02 01:25:03下载
- 积分:1