OLD | NEW |
| (Empty) |
1 # Copyright (c) 2008 Twisted Matrix Laboratories. | |
2 # See LICENSE for details. | |
3 | |
4 | |
5 """ | |
6 Windows 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 | |
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 | |
18 WAIT_TIMEOUT = 258 | |
19 ERROR_NETNAME_DELETED = 64 | |
20 ERROR_HANDLE_EOF = 38 | |
21 | |
22 INFINITE = -1 | |
23 | |
24 SO_UPDATE_CONNECT_CONTEXT = 0x7010 | |
25 SO_UPDATE_ACCEPT_CONTEXT = 0x700B | |
26 | |
OLD | NEW |