[issue6926] socket module missing IPPROTO_IPV6, IPPROTO_IPV4

Jason R. Coombs report at bugs.python.org
Thu Sep 17 02:09:13 CEST 2009


Jason R. Coombs <jaraco at jaraco.com> added the comment:

I think I found the problem.

It appears Python is compiled with 

#define _WIN32_WINNT 0x0500

But IPPROTO_IPV6 (and other constants) are only defined

#if(_WIN32_WINNT >= 0x0501)

What's the proper fix for this issue?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6926>
_______________________________________


More information about the Python-bugs-list mailing list