This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jeeger
Recipients asvetlov, jeeger, yselivanov
Date 2019-03-06.10:34:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1551868458.12.0.248944405663.issue36208@roundup.psfhosted.org>
In-reply-to
Content
I'm working with aiocoap, which uses the AI_V4MAPPED flag to use IPv4-mapped addresses for dual-stack support. When trying to run on Windows, creating a connection fails, because the socket option IPV6_V6ONLY is set to true per default on Windows, whereas the value is configurable on Linux. I've attached a file that should reproduce the error.

A possible fix would be calling socket.setsockopt(socket.IPPROTO_IPV6,
socket.IPV6_V6ONLY, False) when V4-mapped addresses have been requested
(this bug can also appear on Linux when /proc/sys/net/ipv6/bindv6only
contains 1).

If you require any more information, feel free to contact me!
History
Date User Action Args
2019-03-06 10:34:18jeegersetrecipients: + jeeger, asvetlov, yselivanov
2019-03-06 10:34:18jeegersetmessageid: <1551868458.12.0.248944405663.issue36208@roundup.psfhosted.org>
2019-03-06 10:34:18jeegerlinkissue36208 messages
2019-03-06 10:34:17jeegercreate