WSAEventSelect(socket, hEvent, networkEvents)
Specifies an event object to be associated with the supplied set of FD_XXXX network events.
Parameters
socket : PySocket
socket to attach to the eventhEvent : PyHandle
Event handle for the socket to become attached to.networkEvents : int
A bitmask of network events that will cause hEvent to be signaled. e.g. (FD_CLOSE | FD_READ)