码迷,mamicode.com
首页 > 其他好文 > 详细

WSAEvent

时间:2015-10-01 10:22:47      阅读:148      评论:0      收藏:0      [点我收藏+]

标签:

WSAEvent

1、WSACreateEvent。创建WSA事件。

2、WSAEventSelect。

  技术分享

  lNetworkEvents [in]

  A bitmask that specifies the combination of FD_XXX network events in which the application has interest.

  0表示成功。

参考:https://msdn.microsoft.com/en-us/library/ms741576(VS.85).aspx

3、WSAWaitForMultipleEvents。

  The WSAWaitForMultipleEvents function returns when one or all of the specified event objects are in the signaled state, when the time-out interval expires, or when an I/O completion routine has executed.

  技术分享

参考:https://msdn.microsoft.com/en-us/library/ms742219(v=vs.85).aspx

4、WSAEnumNetworkEvents。

  技术分享

  The WSAEnumNetworkEvents function discovers occurrences of network events for the indicated socket, clear internal network event records, and reset event objects (optional).

链接:https://msdn.microsoft.com/en-us/library/windows/desktop/ms741572(v=vs.85).aspx

WSAEvent

标签:

原文地址:http://www.cnblogs.com/tekkaman/p/4850714.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!