Skip to content

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";

Creates a new Ethernet object instance.

Ethernet(options)

options

An object of properties used to construct the class.

port (optional) - A port specifier that indicates the logical network interface to bind to.

Ethernet Network Interface