Module network

Source

Structs§

IPv4
Holds information related to an IP address
NetworkInterface
Contains information about network interfaces
NetworkRate
Contains total download and upload newtwork rate (in bytes)
NetworkRoute
Represents a network route and its type, containing local address+port, remote address+port and connection status

Enums§

InterfaceType
RouteStatus
RouteType
Different route types

Functions§

getIPv4
Returns the various ip addresses associated to the various network interfaces in the device
networkInterfaces
Returns a vetor containing all network interfaces found in sysfs
networkRate
Returns current network rate (downlaod and upload), expressed in bytes
networkRoutes
Returns a list of each internal network route