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 dtantsur
Recipients dtantsur
Date 2019-05-22.11:01:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1558522884.94.0.451573431034.issue37007@roundup.psfhosted.org>
In-reply-to
Content
These two calls are currently Unix-only in the socket module. However, Windows supports them starting with Vista:
https://docs.microsoft.com/en-us/windows/desktop/api/netioapi/nf-netioapi-if_indextoname
https://docs.microsoft.com/en-us/windows/desktop/api/netioapi/nf-netioapi-if_nametoindex

I checked with ctypes and they do seem to work. Unfortunately, if_nameindex is not implemented.
History
Date User Action Args
2019-05-22 11:01:24dtantsursetrecipients: + dtantsur
2019-05-22 11:01:24dtantsursetmessageid: <1558522884.94.0.451573431034.issue37007@roundup.psfhosted.org>
2019-05-22 11:01:24dtantsurlinkissue37007 messages
2019-05-22 11:01:24dtantsurcreate