-
文件传输,自已学习时写的小程序,功能简单,适合初学网络编程的朋友,喜欢的朋友请下。...
文件传输,自已学习时写的小程序,功能简单,适合初学网络编程的朋友,喜欢的朋友请下。-FileTran
- 2023-07-31 00:25:02下载
- 积分:1
-
使用Winsock控制,进行UDP消息的发送和接收,VB源码
使用Winsock控制,进行UDP消息的发送和接收,VB源码-Use Winsock Control to conduct UDP send and receive messages, VB source
- 2022-08-31 17:40:02下载
- 积分:1
-
单射函数问题
设函数f将点集S = {0,1, , n
单射函数问题
设函数f将点集S = {0,1, , n -1}映射为f (S) = { f (i) | iÎ S} Í S 。单射函数问题要
从S中选取最大子集X Í S 使f (X )是单射函数。
例如,当n=7, f (S) = {1,0,0,2,2,3,6} Í S 时, X = {0,1,6} Í S 是所求的最大子集。-Injective function, the function f the problem will be the point set based S = (0,1, , n-1) maps to f (S) = (f (i) | iÎ S) Í S. Injective function of the problem from the largest subset of S, select the X Í S so that f (X) is injective function. For example, when n = 7, f (S) = (1,0,0,2,2,3,6) Í S, when, X = (0,1,6) Í S is a subset of the desired maximum.
- 2023-04-24 20:15:02下载
- 积分:1
-
一个简单的SOCKET通信的例子。 可以作为服务端进行侦听,也可以作为客户端请求连接。
一个简单的SOCKET通信的例子。 可以作为服务端进行侦听,也可以作为客户端请求连接。-a simple example of Socket Communications. As for the interception server, the client can ask to be connected.
- 2022-02-28 15:03:44下载
- 积分:1
-
JAVA脚本源代码,一些很流行的代码,试用于初学者
JAVA脚本源代码,一些很流行的代码,试用于初学者-Java script source code, some of the very popular code, use it on beginners
- 2022-05-22 23:05:15下载
- 积分:1
-
Ascii显示成Hex,在中文系统下也不会有任何问题.
Ascii显示成Hex,在中文系统下也不会有任何问题.-convert ascii to Hex , and no problem in Chinese Environment.
- 2022-07-14 17:19:35下载
- 积分:1
-
Synchronous machine model
Synchronous machine model- Synchronous machine model
- 2022-07-19 09:55:36下载
- 积分: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
-
可用于局域网文件传输,多
能够用于在局域网传输文件,采用多线程的方法,基于mfc的对话框类,比较实用-can be used in LAN file transfer, multi-threaded approach, based on the dialog box type mfc more practical
- 2022-04-02 09:28:51下载
- 积分:1
-
Windows网络编程第二版补充材料,包含原代码与书中没有的NetB方面的介绍,是清华大学出版的.NET丛书里的...
Windows网络编程第二版补充材料,包含原代码与书中没有的NetB方面的介绍,是清华大学出版的.NET丛书里的-Network Programming Windows version of the second supplementary materials, and include the original code book not NetB the presentation, is published by the Tsinghua University. The NET Series
- 2022-08-23 04:47:24下载
- 积分:1