Tekkaman

导航

 

2015年10月1日

摘要: 【CompletionPort】1、CreateIoCompletionPort。此方法用于创建与绑定。此方法调用后,socket即退出,只能通过CompletionKey来辨认是哪个socket的消息。 CompletionKey是自定义数据,用于区分FileHandle。 NumberO... 阅读全文
posted @ 2015-10-01 11:03 Tekkaman 阅读(161) 评论(0) 推荐(0)
 
摘要: 【WSAEvent】1、WSACreateEvent。创建WSA事件。2、WSAEventSelect。 lNetworkEvents[in] A bitmask that specifies the combination of FD_XXX network events in which... 阅读全文
posted @ 2015-10-01 10:06 Tekkaman 阅读(724) 评论(0) 推荐(0)