-
本例实现了一个完整的四人网络麻将游戏,该程序集服务器与客户端功能与一体。本例主要介绍了非对等的网络服务功能的建立,传输信息的序列化,建立虚拟的三维空间,绘制图形...
本例实现了一个完整的四人网络麻将游戏,该程序集服务器与客户端功能与一体。本例主要介绍了非对等的网络服务功能的建立,传输信息的序列化,建立虚拟的三维空间,绘制图形和显示位图,在内存中创建位图和绘制图形等。
-the cases to achieve a complete network of four mahjong games, the procedures set server and client functions and integration. The cases are introduced to the non-network services established, the sequence of transmission of information, the establishment of a virtual three-dimensional space, drawing and display bitmap in memory to create bitmap graphics and mapping.
- 2023-03-25 04:00:03下载
- 积分:1
-
这是java程序
SimpleServlet.java
这是java程序
SimpleServlet.java-procedures SimpleServlet.java
- 2022-05-10 12:19:24下载
- 积分:1
-
网络编程,聊天室的服务器端代码,可以作为网络编程的参考.
网络编程,聊天室的服务器端代码,可以作为网络编程的参考.-network programming, chat rooms, the server-side code, as network programming reference.
- 2022-11-19 10:40:03下载
- 积分:1
-
内含2份关于权限管理的付费论文和一份基于RBAC的权限管理设计...
内含2份关于权限管理的付费论文和一份基于RBAC的权限管理设计-Intron 2 of the pay-rights management on the papers and a RBAC-based design of rights management
- 2022-05-13 05:52:19下载
- 积分:1
-
程序说明: 程序采用网上介绍的方法实现最基本的P2P方式通讯.模拟实现即时消息互发. 本程序只是实现简单的P2P互发消息.完成的比较粗糙,更多功能欢迎朋友们更新...
程序说明: 程序采用网上介绍的方法实现最基本的P2P方式通讯.模拟实现即时消息互发. 本程序只是实现简单的P2P互发消息.完成的比较粗糙,更多功能欢迎朋友们更新完善-procedure : online procedures introduced by the most basic method of peer-to-peer communication. Simulation made instant messaging each other. This procedure is a simple peer-to-peer updates. Completion of the rougher, more functional friends welcome update perfect
- 2023-09-04 11:15:03下载
- 积分:1
-
多线程socket文件传输/支持断点续传/收发消息/点对多点 使用阻塞方式的socket,使用多线程,有较高的性能.在局域网中测试达到极限速度.支持断点续传.服...
多线程socket文件传输/支持断点续传/收发消息/点对多点 使用阻塞方式的socket,使用多线程,有较高的性能.在局域网中测试达到极限速度.支持断点续传.服务端可同时接收多个文件.传输文件的同时可以发送网络消息.-multi-threaded socket file transfer/support HTTP/transceiver news/obstruction use point-to-multipoint modes of socket, multi-threaded, high performance. In LAN test the speed limit. Support for HTTP. The server can also send multiple files. Transfer files with the when this network news.
- 2022-01-24 09:53:05下载
- 积分:1
-
MINA open source framework and its NioSocket learning summary
NioSocket及其开源框架MINA学习总结-MINA open source framework and its NioSocket learning summary
- 2022-05-07 17:09:43下载
- 积分: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
-
WinSock学习笔记(一)
WinSock学习笔记(一)-WinSock learning Notes (1)
- 2022-06-30 23:58:32下载
- 积分:1
-
目录串口通信高级编程提供了一个能够进行串口通信的类,能够方便地进行各种数据通信。
目录串口通信高级编程提供了一个能够进行串口通信的类,能够方便地进行各种数据通信。- The table of contents string mouth correspondence high-level
programming provided to be able to carry on the string mouth
correspondence the kind, could conveniently carry on each kind of data
communication.
- 2023-03-20 00:50:03下载
- 积分:1