Interface Connection

Connection represents a connection to a network interface.

interface Connection {
    remoteAddress: string;
    remotePort: number;
    type: SupportedNetworkType;
}

Properties

remoteAddress: string

The remote address of the connection

remotePort: number

The remote port of the connection

The type of network being used