提醒:IOCP使用时常见的几个错误 2011年04月16日

订阅:0
演示:以MSN订阅提醒为例 订阅到哪吒,有更新提醒我
哪吒机器人提醒:
提醒:C++博客-游戏人生
【标题】IOCP使用时常见的几个错误
【摘要】本文同步自游戏人生 在使用iocp时,最重要的几个api就是getqueuecompeltionstatus、wsarecv、wsasend,数据的i/o及其完成状态通过这几个接口获取并进行后续处理。 getqueuecompeltionstatus attempts to dequeue an i/o completion packet from the specified i/o completion port. if there is no completion packet queued, the function waits for a pending i/o operation associated with the completion port to complete.bool winapi getqueuedcompletionstatus( __in handle completionport, __out lpdword lpnumberofbytes, __out pulong_ptr lpcompletionkey, __out lpoverlappe... (04-16 23:51)
收藏 |  评论 |  推荐给好友  | 
本文共有 0 次分享
来自 C++博客-游戏人生 的其他文章
评论
共有 - 条评论


我要反馈