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 (2)

Label Occurrences
WSAEventSelect canonical 4
WSAStartup 1

How this entity was disambiguated

Statements (48)

Predicate Object
instanceOf Windows Sockets API function ⓘ
Winsock2 function ⓘ
alternativeTo WSAAsyncSelect ⓘ
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 ⓘ
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 ⓘ
libraryLink Ws2_32.lib ⓘ
notificationMechanism event object signaled on network events ⓘ
parameter SOCKET s ⓘ
WSAEVENT hEventObject ⓘ
long lNetworkEvents ⓘ
partOf Winsock2 ⓘ
requires a valid SOCKET handle ⓘ
a valid WSAEVENT handle ⓘ
returns int ⓘ
returnValue 0 on success ⓘ
SOCKET_ERROR on failure ⓘ
runsOn Microsoft Windows ⓘ
linked to: Windows
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 ⓘ
WSAWaitForMultipleEvents ⓘ

How these facts were elicited

Referenced by (5)

Full triples — surface form annotated when it differs from this entity's canonical label.

Ws2_32 → exportsFunction → WSAEventSelect ⓘ
Windows Sockets 2 → initializationFunction → WSAStartup ⓘ
subject linked to: Windows Sockets 2 library
linked to: WSAEventSelect
Windows Sockets 2 → coreFunction → WSAEventSelect ⓘ
subject linked to: Windows Sockets 2 library
WSAAsyncSelect → alternativeTo → WSAEventSelect ⓘ