IOCP在服务器开发中的应用  被引量:7

IOCP Application in Server Development

在线阅读下载全文

作  者:蒋姝霞[1] 王悦[1] 

机构地区:[1]上海交通大学信息安全工程学院通信系统信息控制技术国家级重点实验室,上海200240

出  处:《信息安全与通信保密》2010年第3期72-75,共4页Information Security and Communications Privacy

摘  要:在基于Winsock的网络服务中,实现可支持海量客户端请求和数据通信的服务器应用程序往往成为关键所在。针对实际应用,提出了一种基于完成端口的通信模块设计方法来解决客户端连接量巨大、小容量数据包频繁收发等并发性问题。首先介绍了完成端口的机制及相关概念,接着讨论分析了其中的关键问题并给出解决方案,然后运用IOCP模型成功构建了服务器应用系统,最后通过测试和性能分析,系统的实现效果得到了证实。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 first,then the solutions to some crucial problems are discussed,then a sever application based on IOCP is developed,and finally the validity of the system is verified by test and performance analysis.

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

分 类 号:TP393.05[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象