def create_wsaevent(self):
    event = WSACreateEvent()
    self.addCleanup(CloseHandle, event)
    return event
def create_wsaevent(self):
    event = WSACreateEvent()
    self.addCleanup(CloseHandle, event)
    return event