PyDocs

Nav

Networking and Interprocess Communication

if_nametoindex

socket

function · Added in 3.3UnixWindowsnot WASI
  • if_nametoindex(if_name)
Returns the interface index corresponding to the interface name if_name.
Changed in 3.8
  • 3.8: Windows support was added.
0 Examples
No examples for socket/if_nametoindex.
See Also
No see-alsos for socket/if_nametoindex
0 Notes
No notes for if_nametoindex