[New-bugs-announce] [issue36217] recvmsg support on Windows

chrysn report at bugs.python.org
Wed Mar 6 13:01:03 EST 2019


New submission from chrysn <chrysn at fsfe.org>:

Windows has support for advanced socket APIs of RFC 3542 (eg. pktinfo, see https://docs.microsoft.com/en-us/windows/desktop/api/ws2ipdef/ns-ws2ipdef-in6_pktinfo), but those can not be used on Python as there is no recvmsg implementation (tested on 3.7.1 on Windows 10).

The recvmsg function is, among other things, required for implementing the CoAP protocol (RFC 7252: introspection of ICMP errors).

Windows does have a recvmsg function (as documented at https://msdn.microsoft.com/en-us/a46449f7-3206-45e9-9df0-f272b8cdcc4b), and supports flags to make actual use of it (like RECVPKTINFO above). Given many of the missing flags of RFC 3542 are being added in issue29515, please consider adding a recvmsg method to Windows socket objects.

----------
components: Windows
messages: 337337
nosy: chrysn, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: recvmsg support on Windows
type: enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36217>
_______________________________________


More information about the New-bugs-announce mailing list