WSAAsyncSelect(socket, hwnd, int, networkEvents)
Request windows message notification for the supplied set of FD_XXXX network events.
Parameters
socket : PySocket
socket to attach to the eventhwnd : hwnd
Window handle for the socket to become attached to.int : int
Window message that will be posted.networkEvents : int
A bitmask of network events that will cause wMsg to be posted. e.g. (FD_CLOSE | FD_READ)