| Index: third_party/twisted_8_1/twisted/internet/iocpreactor/iocpsupport/connectex.pxi
|
| diff --git a/third_party/twisted_8_1/twisted/internet/iocpreactor/iocpsupport/connectex.pxi b/third_party/twisted_8_1/twisted/internet/iocpreactor/iocpsupport/connectex.pxi
|
| deleted file mode 100644
|
| index 65f074344dd5c24916086720ce4b1dcee0e86161..0000000000000000000000000000000000000000
|
| --- a/third_party/twisted_8_1/twisted/internet/iocpreactor/iocpsupport/connectex.pxi
|
| +++ /dev/null
|
| @@ -1,34 +0,0 @@
|
| -# Copyright (c) 2008 Twisted Matrix Laboratories.
|
| -# See LICENSE for details.
|
| -
|
| -
|
| -def connect(long s, object addr, object obj):
|
| - cdef int family, rc
|
| - cdef myOVERLAPPED *ov
|
| - cdef sockaddr name
|
| -
|
| - if not have_connectex:
|
| - raise ValueError, 'ConnectEx is not available on this system'
|
| -
|
| - family = getAddrFamily(s)
|
| - if family == AF_INET:
|
| - fillinetaddr(<sockaddr_in *>&name, addr)
|
| - else:
|
| - raise ValueError, 'unsupported address family'
|
| - name.sa_family = family
|
| -
|
| - ov = makeOV()
|
| - if obj is not None:
|
| - ov.obj = <PyObject *>obj
|
| -
|
| - rc = lpConnectEx(s, &name, sizeof(name), NULL, 0, NULL, <OVERLAPPED *>ov)
|
| -
|
| - if not rc:
|
| - rc = WSAGetLastError()
|
| - if rc != ERROR_IO_PENDING:
|
| - return rc
|
| -
|
| - # operation is in progress
|
| - Py_XINCREF(obj)
|
| - return rc
|
| -
|
|
|