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.

Title: recvmsg support on Windows
Type: enhancement Stage:
Components: Windows Versions:
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: chrysn, paul.moore, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2019-03-06 18:01 by chrysn, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg337337 - (view) Author: chrysn (chrysn) * Date: 2019-03-06 18:01
Windows has support for advanced socket APIs of RFC 3542 (eg. pktinfo, see, 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, 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.
Date User Action Args
2022-04-11 14:59:12adminsetgithub: 80398
2019-03-06 18:01:03chrysncreate