摘要
本文主要讨论使用SocketAsyncEventArgs这个类,利用完成端口并且结合异步事件的方式,设计一个服务端的消息传送中心,从而提高服务器端处理高并发的性能,并避免在异步套接字I/O量非常大时发生重复的对象分配和同步。
This paper mainly discusses how to use socketasynceventargs to design a message transmission center of the server side by using the completion port and combining with asynchronous events, so as to improve the performance of the server side in dealing with high concurrency and avoid repeated object allocation and synchronization when the amount of asynchronous socket I/O is very large.
作者
陈李飞
CHEN Li-fei(Suzhou Higher Vocational and Technical School,Suzhou Jiangsu 215009)
出处
《数字技术与应用》
2019年第12期173-174,共2页
Digital Technology & Application