|
WSAEventSelect specifies an event object to be associated with the specified set of FD_XXX network events.
Syntax
int WSAEventSelect( __in SOCKET s, __in WSAEVENT hEventObject, __in long lNetworkEvents );
Parameters
s
Descriptor identifying the socket.
hEventObject
Handle identifying the event object to be associated with the specified set of FD_XXX network events.
lNetworkEvents
Bitmask that specifies the combination of FD_XXX network events in which the application has interest.
Return Values
0 (zero) if the function succeeds., SOCKET_EROR if the function fails
Use WSAGetLastError to retrieve a specific error code.
Remarks
The following network event types are not supported in the RT-TCP/IP stack:
Requirements
Library | Rtxtcpip.lib |