摘要
在分析IOCP机制的基础之上,提出了采用IOCP统一管理网络套接字和串口句柄,使用IOCP实现串口与网络之间的数据交互方案,并结合实际应用详细阐述了具体的实现步骤。应用表明,该方案在速度和性能上都表现出良好的特征。
Based on the analysis of the mechanisms of IOCP, the adoption of IOCP to manage the serial handle and network socket at the same time was suggested by the data exchanging project between the network and the serial port. The detailed steps to the realization were expounded by combining the practical application. It shows that the solution has better qualities both in speed and performance.
出处
《武汉理工大学学报(信息与管理工程版)》
CAS
2008年第2期197-200,共4页
Journal of Wuhan University of Technology:Information & Management Engineering
关键词
IOCP
串口通信
多线程
IOCP
serial communication
multi - thread