WSAEventSelect
E726427
WSAEventSelect is a Winsock2 API function that associates network events on a socket with a specified event object to enable event-driven network I/O on Windows.
All labels observed (1)
| Label | Occurrences |
|---|---|
| WSAEventSelect canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T8288414 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: WSAEventSelect Context triple: [Ws2_32, exportsFunction, WSAEventSelect]
-
A.
WSAAsyncSelect
WSAAsyncSelect is a Winsock API function that enables asynchronous network event notification for a socket by posting messages to a specified Windows message queue.
-
B.
WSAWaitForMultipleEvents
WSAWaitForMultipleEvents is a Winsock 2 API function that waits for one or more network event objects to become signaled, enabling efficient event-driven socket I/O on Windows.
-
C.
Windows Sockets 2 library
The Windows Sockets 2 library is a core Microsoft Windows API component that provides standardized network communication functions for TCP/IP and other protocols used by Windows applications.
-
D.
Winsock 1.1 API
Winsock 1.1 API is an early Windows networking interface that provides standardized socket-based communication capabilities for TCP/IP and other network protocols.
-
E.
WSARecvFrom
WSARecvFrom is a Winsock API function on Windows that receives data from a socket and retrieves the source address of the incoming datagram.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: WSAEventSelect Target entity description: WSAEventSelect is a Winsock2 API function that associates network events on a socket with a specified event object to enable event-driven network I/O on Windows.
-
A.
WSAAsyncSelect
WSAAsyncSelect is a Winsock API function that enables asynchronous network event notification for a socket by posting messages to a specified Windows message queue.
-
B.
WSAWaitForMultipleEvents
WSAWaitForMultipleEvents is a Winsock 2 API function that waits for one or more network event objects to become signaled, enabling efficient event-driven socket I/O on Windows.
-
C.
Windows Sockets 2 library
The Windows Sockets 2 library is a core Microsoft Windows API component that provides standardized network communication functions for TCP/IP and other protocols used by Windows applications.
-
D.
Winsock 1.1 API
Winsock 1.1 API is an early Windows networking interface that provides standardized socket-based communication capabilities for TCP/IP and other network protocols.
-
E.
WSARecvFrom
WSARecvFrom is a Winsock API function on Windows that receives data from a socket and retrieves the source address of the incoming datagram.
- F. None of above. chosen
Statements (48)
| Predicate | Object |
|---|---|
| instanceOf |
Windows Sockets API function
ⓘ
Winsock2 function ⓘ |
| alternativeTo | WSAAsyncSelect NERFINISHED ⓘ |
| appliesTo | socket ⓘ |
| canReport |
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 ⓘ |
| category | asynchronous I/O ⓘ |
| changesStateOf | socket to nonblocking mode ⓘ |
| definedIn | Winsock2.h NERFINISHED ⓘ |
| errorReporting | WSAGetLastError ⓘ |
| exportedBy | Ws2_32.dll ⓘ |
| failureCondition |
WSAEINPROGRESS if a blocking Winsock call is in progress
ⓘ
WSAEINVAL for invalid parameters ⓘ WSAENETDOWN if network subsystem failed ⓘ WSAENOBUFS if no buffer space is available ⓘ WSAENOTSOCK if descriptor is not a socket ⓘ WSAENOTSUP if operation not supported ⓘ WSANOTINITIALISED if WSAStartup not called ⓘ |
| headerFile | <winsock2.h> ⓘ |
| introducedIn | Winsock 2 NERFINISHED ⓘ |
| libraryLink | Ws2_32.lib ⓘ |
| notificationMechanism | event object signaled on network events ⓘ |
| parameter |
SOCKET s
ⓘ
WSAEVENT hEventObject ⓘ long lNetworkEvents ⓘ |
| partOf | Winsock2 NERFINISHED ⓘ |
| requires |
a valid SOCKET handle
ⓘ
a valid WSAEVENT handle ⓘ |
| returns | int ⓘ |
| returnValue |
0 on success
ⓘ
SOCKET_ERROR on failure ⓘ |
| runsOn | Microsoft Windows NERFINISHED ⓘ |
| sideEffect |
overwrites previous event mask for the socket
ⓘ
replaces any previous event object associated with the socket ⓘ |
| supports | event-driven network I/O ⓘ |
| threadingModel | can be used in multithreaded applications ⓘ |
| usedFor |
associating network events with an event object
ⓘ
asynchronous socket notification ⓘ |
| usedWith |
WSAEnumNetworkEvents
NERFINISHED
ⓘ
WSAWaitForMultipleEvents NERFINISHED ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: WSAEventSelect Description of subject: WSAEventSelect is a Winsock2 API function that associates network events on a socket with a specified event object to enable event-driven network I/O on Windows.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.