1 # Copyright (c) Twisted Matrix Laboratories.
2 # See LICENSE for details.
6 Windows constants for IOCP
10 # this stuff should really be gotten from Windows headers via pyrex, but it
11 # probably is not going to change
13 ERROR_PORT_UNREACHABLE = 1234
14 ERROR_NETWORK_UNREACHABLE = 1231
15 ERROR_CONNECTION_REFUSED = 1225
16 ERROR_IO_PENDING = 997
17 ERROR_OPERATION_ABORTED = 995
19 ERROR_NETNAME_DELETED = 64
24 SO_UPDATE_CONNECT_CONTEXT = 0x7010
25 SO_UPDATE_ACCEPT_CONTEXT = 0x700B