IOCP+by+ZY

所属分类ICQ/即时通讯
开发工具:C/C++
文件大小:13KB
下载次数:0
上传日期:2019-06-29 17:07:52
上 传 者jigalin
说明:  IOCP特别适合C/S模式网络服务器端模型。因为,让每一个socket有一个线程负责同步(阻塞)数据处理,one-thread-per-client的缺点是:一是如果连入的客户多了,就需要同样多的线程;二是不同的socket的数据处理都要线程切换的代价。
(IOCP is especially suitable for C/S mode network server-side model. Because each socket has a thread responsible for synchronous (blocking) data processing, one-thread-per-client has the disadvantage of: first, if there are more connected customers, it needs the same number of threads; second, the cost of thread switching for different sockets'data processing.)

文件列表:[举报垃圾]
IOCP by ZY, 0 , 2017-11-30
IOCP by ZY\IOCP by ZY, 0 , 2017-11-30
IOCP by ZY\IOCP by ZY\IOCP by ZY.vcxproj, 7476 , 2017-11-27
IOCP by ZY\IOCP by ZY\IOCP by ZY.vcxproj.filters, 1425 , 2017-11-27
IOCP by ZY\IOCP by ZY\IOCPDef.h, 2595 , 2017-11-29
IOCP by ZY\IOCP by ZY\IOCPServer.cpp, 16545 , 2017-11-29
IOCP by ZY\IOCP by ZY\IOCPServer.h, 3022 , 2017-11-29
IOCP by ZY\IOCP by ZY\Lock.h, 416 , 2017-11-26
IOCP by ZY\IOCP by ZY\main.cpp, 1771 , 2017-11-29
IOCP by ZY\IOCP by ZY\Mapper.h, 1178 , 2017-11-27
IOCP by ZY\IOCP.sln, 1312 , 2017-11-28

近期下载者

相关文件

评论我要评论

收藏者