Ethernet
The Ethernet class provides access to an Ethernet network interface. It is a subclass of the Network Interface Class Pattern.
import Ethernet from "embedded:network/interface/ethernet";Constructor
Section titled “Constructor”Ethernet(options)
Section titled “Ethernet(options)”Creates a new Ethernet object instance.
Ethernet(options)Parameters
Section titled “Parameters”options
An object of properties used to construct the class.
port(optional) - A port specifier that indicates the logical network interface to bind to.