You are here : python_3socketsocketif_indextoname

socket.if_indextoname() - socket

Return a network interface name corresponding to an
interface index number.
OSError if no interface with the given index exists.


Syntax

socket.if_indextoname(if_index)


Example


Output / Return Value


Limitations


Alternatives / See Also


Reference