New submission from Alex Grönholm <alex.gronh...@nextday.fi>:

Receiving a UDP datagram using DatagramProtocol on the Proactor event loop 
results in error_received() being called with WinError 87 (Invalid Parameter). 
The low-level sock_recv() works fine, but naturally loses the sender address 
information. The attached script works fine as-is on Linux, and on Windows if 
::1 is replaced with 127.0.0.1.

There were extensive tests added for UDP support on IOCP, but unfortunately all 
of them use only IPv4 sockets so they could not catch this problem.

----------
components: Windows
files: udpreceive.py
messages: 358940
nosy: alex.gronholm, asvetlov, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: DatagramProtocol + IPv6 does not work with ProactorEventLoop
type: behavior
versions: Python 3.8
Added file: https://bugs.python.org/file48805/udpreceive.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39148>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to