WSAEvent

WSAEvent

1、WSACreateEvent。创建WSA事件。

2、WSAEventSelect。

  WSAEvent

  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.

  WSAEvent

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

4、WSAEnumNetworkEvents。

  WSAEvent

  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

上一篇:企业级Ngnix基于域名的配置_server


下一篇:Python开发环境Wing IDE使用教程:部分调试功能介绍