-
简单的Winsock2点对点聊天工具,功能比较简单,但条理清晰,是一个入门的好例子。...
简单的Winsock2点对点聊天工具,功能比较简单,但条理清晰,是一个入门的好例子。-simple peer-to-peer chat tools, function relatively simple, lucid, and the entry is a good example.
- 2022-04-23 15:00:12下载
- 积分:1
-
端口扫描器的程序代码
端口扫描器的程序代码-port scanner code
- 2022-09-07 02:20:03下载
- 积分:1
-
everyone Forum casual reference source
人人论坛的源码 随便参考-everyone Forum casual reference source
- 2022-01-21 04:48:31下载
- 积分:1
-
在同一个线程中实现异步套接字的聊天程序,用以音视频…
在同一个线程中使用异步套接字实现聊天室程序,避免了不读数据时出现阻塞-In the same thread realize the use of Asynchronous Sockets Chat procedures to avoid non-blocking when reading data
- 2022-01-22 02:10:31下载
- 积分:1
-
网络缓冲队列操作。队列的个数由宏定义QUEUE_NUM
规定。
函数:
void queueInit()
char queueAd...
网络缓冲队列操作。队列的个数由宏定义QUEUE_NUM
规定。
函数:
void queueInit()
char queueAdd(int index, unsigned char* pBuff, int pri)
char queueDelHead(int index)
char queueDelAll()
调用: 无
被调用: 网络通讯程序及用户程序的初始化部分-Network buffer queue operation. The number of queues defined by the macro QUEUE_NUM provisions. Function: void queueInit () char queueAdd (int index, unsigned char* pBuff, int pri) char queueDelHead (int index) char queueDelAll () call: None is called: network communication procedures and user program initialization part
- 2022-01-29 02:43:28下载
- 积分:1
-
西门子200自由口通讯,s7
西门子200自由口通讯,s7-200自由口与流量计,COD,的通讯,PLC程序-Siemens 200 free port communication, s7-200 free port with the meter, COD, communications, PLC program
- 2022-09-30 16:45:03下载
- 积分: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
-
为需要网络报名用户设计,用户只需要通过网络进行在线报名,管理员即可一次收效所有报名信息,提高工作效率。...
为需要网络报名用户设计,用户只需要通过网络进行在线报名,管理员即可一次收效所有报名信息,提高工作效率。-Registration for the needs of network users, users only need to register online through the network, administrators can apply an effect to all information, improve work efficiency.
- 2022-06-30 02:31:38下载
- 积分:1
-
udp agreement Simulation (transmitter)
udp协议的仿真模拟程序(发送端)-udp agreement Simulation (transmitter)
- 2022-02-25 12:32:42下载
- 积分:1
-
服务器端在本地端口进行坚挺,等待客户机的连接,连接上之后,向服务器端发送数据...
服务器端在本地端口进行坚挺,等待客户机的连接,连接上之后,向服务器端发送数据-Server-side firm in the local port and wait for client connections, after connection to the server-side send data
- 2022-01-26 07:37:45下载
- 积分:1