Skip to content

Interface: IListeningAddress ​

An address a listener of a network interface can be reached at.

Properties ​

address ​

address: string

The address (an IPv6 address without its scope).


family ​

family: "IPv4" | "IPv6"

'IPv4' or 'IPv6'.


port ​

port: number

The port.


scopeid? ​

optional scopeid?: number

IPv6 only: the scope of the address (the index of the interface for a link-local one), 0 for a global one.

Released under the MIT License.