[Twisted-Python] IOCP reactor on Windows 2000

Pavel Pergamenshchik pahan at xzrq.net
Thu Sep 10 00:41:31 EDT 2009

On Wed, Sep 9, 2009 at 8:28 AM, Cedric Delfosse <cdelfosse at mandriva.com> wrote:
> Hello,
> Twisted Python 8.2.0 on Windows 2000 gives me this TB when I try to use
> the IOCP reactor. Is it supported on this platform ? (Works very well on
> Windows XP)
> The instance's SvcRun() method failed
>  File "win32serviceutil.pyc", line 805, in SvcRun
>  File "server-win32.pyc", line 81, in SvcDoRun
>  File "twisted\internet\iocpreactor\__init__.pyc", line 8, in <module>
>  File "twisted\internet\iocpreactor\reactor.pyc", line 19, in <module>
>  File "twisted\internet\iocpreactor\iocpsupport.pyc", line 12, in <module>
>  File "twisted\internet\iocpreactor\iocpsupport.pyc", line 10, in __load
>  File "iocpsupport.pyx", line 242, in iocpsupport
> <type 'exceptions.ValueError'>: Failed to initialize Winsock function vectors

iocpreactor is not supported on Windows 2000. iocpreactor relies on
ConnectEx() API. It was introduced in Windows XP. It is,
theoretically, possible to work around it, but nobody has done so.

More information about the Twisted-Python mailing list