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

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

Referenced by (1)

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

Ws2_32 exportsFunction WSAEventSelect