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

IOCP在服务器开发中的应用
引用本文:蒋姝霞,王悦. IOCP在服务器开发中的应用[J]. 信息安全与通信保密, 2010, 0(3): 72-75
作者姓名:蒋姝霞  王悦
作者单位:上海交通大学信息安全工程学院通信系统信息控制技术国家级重点实验室,上海,200240
摘    要:在基于Winsock的网络服务中,实现可支持海量客户端请求和数据通信的服务器应用程序往往成为关键所在。针对实际应用,提出了一种基于完成端口的通信模块设计方法来解决客户端连接量巨大、小容量数据包频繁收发等并发性问题。首先介绍了完成端口的机制及相关概念,接着讨论分析了其中的关键问题并给出解决方案,然后运用IOCP模型成功构建了服务器应用系统,最后通过测试和性能分析,系统的实现效果得到了证实。

关 键 词:Windows套接字  完成端口  重叠I/O  多线程

IOCP Application in Server Development
JIANG Shu-xia,WANG Yue. IOCP Application in Server Development[J]. China Information Security, 2010, 0(3): 72-75
Authors:JIANG Shu-xia  WANG Yue
Affiliation:JIANG Shu-xia,WANG Yue(State Laboratory of Information Control Technology for Communication System,School of Information Security Engineering,Shanghai Jiaotong University,Shanghai 200240,China)
Abstract:In the web services based on Winsock,it is the key point to realize the application servers which could handle tremendous client requests and data communication.To meet the practical requirement,the paper proposes a method for designing the telecommunication module based on IOCP,thus solving the problems occurring in case that there are clients connections of great capacity and the frequent receiving and dispatching of low capacity data packets.The IOCP mechanism and some related concepts are presented firs...
Keywords:Winsock  completion port  overlapped I/O  multithread  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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