WSAAsyncSelect
E724290
WSAAsyncSelect is a Winsock API function that enables asynchronous network event notification for a socket by posting messages to a specified Windows message queue.
Statements (48)
| Predicate | Object |
|---|---|
| instanceOf |
Windows Sockets API function
ⓘ
Winsock function ⓘ |
| alternativeTo |
WSAEventSelect
NERFINISHED
ⓘ
overlapped I/O ⓘ |
| associates | socket with window handle ⓘ |
| belongsToLibrary | Ws2_32.dll ⓘ |
| callingConvention | WINAPI ⓘ |
| cancelsEventsWhen | lEvent is set to 0 ⓘ |
| category | asynchronous I/O model ⓘ |
| controlsSocket | nonblocking mode ⓘ |
| declaredInHeader | winsock2.h ⓘ |
| definedIn |
Winsock 1.1
NERFINISHED
ⓘ
Winsock 2 NERFINISHED ⓘ |
| documentationSection | Windows Sockets 2 API reference NERFINISHED ⓘ |
| effect | sets socket to nonblocking mode ⓘ |
| errorRetrievalFunction | WSAGetLastError ⓘ |
| eventMaskType |
FD_ACCEPT
ⓘ
FD_ADDRESS_LIST_CHANGE ⓘ FD_CLOSE ⓘ FD_CONNECT ⓘ FD_GROUP_QOS ⓘ FD_OOB ⓘ FD_QOS ⓘ FD_READ ⓘ FD_ROUTING_INTERFACE_CHANGE ⓘ FD_WRITE ⓘ |
| initializationFunction | WSAStartup NERFINISHED ⓘ |
| introducedFor | integration of sockets with Windows message loop ⓘ |
| languageBinding | C ⓘ |
| messagePosted | WM_USER-based application-defined message ⓘ |
| notificationMechanism |
Windows message queue
ⓘ
window message ⓘ |
| parameter |
HWND hWnd
ⓘ
SOCKET s ⓘ long lEvent ⓘ unsigned int wMsg ⓘ |
| postsMessageTo | specified window handle ⓘ |
| replacesFunctionalityOf | blocking socket calls ⓘ |
| requires |
initialized Winsock library
ⓘ
valid window handle ⓘ |
| returns | int ⓘ |
| returnValueOnFailure | SOCKET_ERROR ⓘ |
| returnValueOnSuccess | 0 ⓘ |
| supportsPlatform | Microsoft Windows NERFINISHED ⓘ |
| threadingModel | message-driven, typically GUI thread ⓘ |
| usagePattern | GUI-based Windows network applications ⓘ |
| usedFor |
asynchronous network event notification
ⓘ
message-based socket event notification ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.