[issue29515] socket module missing IPPROTO_IPV6, IPPROTO_IPV4 on Windows

Eryk Sun report at bugs.python.org
Thu Feb 9 21:01:49 EST 2017


Eryk Sun added the comment:

The macro is defined but not defined. If I insert the following line before the #ifdef check:

    #define IPPROTO_IPV6 IPPROTO_IPV6

then the constant gets added:

    >>> import _socket
    >>> _socket.IPPROTO_IPV6
    41

The same applies to IPPROTO_IPV4 and probably others.

----------
nosy: +eryksun
versions: +Python 3.5, Python 3.7

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


More information about the Python-bugs-list mailing list