You are here : python_3socketsocketif_nameindex

socket.if_nameindex() - socket

Return a list of network interface information
(index int, name string) tuples.
OSError if the system call fails.


Syntax

socket.if_nameindex()


Example


Output / Return Value


Limitations


Alternatives / See Also


Reference