Home Contents | # rawio.interfaces | Rawio | Core4 Lua Event System

## SYNOPSIS

table = rawio.interfaces()

## DESCRIPTION

Lists the network interfaces present in the system.

## RETURN VALUE

A list with the names of the network interfaces.

## EXAMPLE

> > >
for k,v in ipairs(rawio.interfaces()) do print(k, v) end
1 lo 2 eth0

## NOTES

A typical Core4 system has two network interfaces: lo, the local loopback interface, and eth0 the ethernet interface.

## SEE ALSO

rawio:accept, rawio:bind, rawio:getsockopt, rawio.ifconfig, rawio:listen, rawio:recvfrom, rawio:sendto, rawio:setsockopt, rawio:shutdown, rawio.socket