Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

NetworkConnection

import type { NetworkConnection } from "https://googleapis.deno.dev/v1/migrationcenter:v1.ts";
interface NetworkConnection {
localIpAddress?: string;
localPort?: number;
pid?: bigint;
processName?: string;
protocol?: string;
remoteIpAddress?: string;
remotePort?: number;
state?:
| "STATE_UNSPECIFIED"
| "OPENING"
| "OPEN"
| "LISTEN"
| "CLOSING"
| "CLOSED";
}

§Properties

§
localIpAddress?: string
[src]

Local IP address.

§
localPort?: number
[src]

Local port.

§
pid?: bigint
[src]

Process ID.

§
processName?: string
[src]

Process or service name.

§
protocol?: string
[src]

Connection protocol (e.g. TCP/UDP).

§
remoteIpAddress?: string
[src]

Remote IP address.

§
remotePort?: number
[src]

Remote port.

§
state?: "STATE_UNSPECIFIED" | "OPENING" | "OPEN" | "LISTEN" | "CLOSING" | "CLOSED"
[src]

Network connection state.