1# Copyright (c) Twisted Matrix Laboratories. 2# See LICENSE for details. 3 4 5""" 6Windows constants for IOCP 7""" 8 9 10# this stuff should really be gotten from Windows headers via pyrex, but it 11# probably is not going to change 12 13ERROR_PORT_UNREACHABLE = 1234 14ERROR_NETWORK_UNREACHABLE = 1231 15ERROR_CONNECTION_REFUSED = 1225 16ERROR_IO_PENDING = 997 17ERROR_OPERATION_ABORTED = 995 18WAIT_TIMEOUT = 258 19ERROR_NETNAME_DELETED = 64 20ERROR_HANDLE_EOF = 38 21 22INFINITE = -1 23 24SO_UPDATE_CONNECT_CONTEXT = 0x7010 25SO_UPDATE_ACCEPT_CONTEXT = 0x700B 26 27