首页 | 本学科首页   官方微博 | 高级检索  
     

基于非阻塞式Winsock的多线程网络通信机制
引用本文:戴大蒙.基于非阻塞式Winsock的多线程网络通信机制[J].计算机工程,2006,32(6):137-138,142.
作者姓名:戴大蒙
作者单位:温州大学计算机科学与工程学院,温州,325000
摘    要:以网络棋牌类游戏系统为实现背景,指出目前winsock通信方式的缺陷,提出在非阻塞式通信方式的基础上创建多线程的网络通信机制并详细介绍其中的关键技术,同时给出了Java实现的服务器端和客户端的核心代码框架,可方便地应用到类似系统,具有一定的通用性和可重用性。

关 键 词:非阻塞式winsock  多线程  网络通信
文章编号:1000-3428(2006)06-0137-02
收稿时间:2005-11-17
修稿时间:2005-11-17

Multi-threads Communication Mechanism Based on Non-blocking I/O Winsock
DAI Dameng.Multi-threads Communication Mechanism Based on Non-blocking I/O Winsock[J].Computer Engineering,2006,32(6):137-138,142.
Authors:DAI Dameng
Affiliation:Computer Science and Engineering College, Wenzhou University, Wenzhou 325000
Abstract: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.
Keywords:Java
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号