От: | eao197 | http://eao197.blogspot.com | |
Дата: | 21.03.08 21:10 | ||
Оценка: |
http://ftp.undernet.org/clients/windows/winsock/ftp/wsapi206.txtBlocking and waiting for Completion Indication —
Applications may also choose to block while waiting for one
or more event objects to become set using
WSAWaitForMultipleEvents(). In Win16 implementations, this
will utilize a blocking hook as is currently provided for
standard blocking socket operations. In Win32
implementations, the process or thread will be truly
blocked. Since Winsock 2 event objects are implemented as
Win32 events, the native Win32 function
WaitForMultipleObjects() may also be used for this purpose.
This is especially useful if the thread needs to wait on
both socket and non-socket events.