摘要
以网络棋牌类游戏系统为实现背景,指出目前winsock通信方式的缺陷,提出在非阻塞式通信方式的基础上创建多线程的网络通信机制并详细介绍其中的关键技术,同时给出了Java实现的服务器端和客户端的核心代码框架,可方便地应用到类似系统,具有一定的通用性和可重用性。
In the internet chess and card game, some defects based on winsock mechanism are pointed out. A Java coding framework is put forward and analyzed, which is based on mechanism united friendliness of multi-threads technology in non-blocking. Finally, a solution is given for the general application.
出处
《计算机工程》
CAS
CSCD
北大核心
2006年第6期137-138,142,共3页
Computer Engineering