New submission from chrysn <chr...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue36217>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to