[issue40901] It's not clear what "interface name" means in socket if_nameindex/if_nametoindex/if_indextoname on Windows

Jakub Stasiak report at bugs.python.org
Sun Jun 7 09:27:35 EDT 2020


Jakub Stasiak <jakub+python.org at stasiak.at> added the comment:

if_nameindex(), if_indextoname() and if_nametoindex() have been implemented as part of https://bugs.python.org/issue37007

While working on ifaddr I discovered that all three different kinds of names ifaddr fetches for an interface on Windows are not what Python socket functions use so I thought it'd be useful to document it for the next person who bumps into this.

----------
nosy: +ZackerySpytz, dtantsur

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


More information about the Python-bugs-list mailing list