Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/node/net.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.172.0/node/net.ts";

Classes

This class is used to create a TCP or IPC server.

This class is an abstraction of a TCP socket or a streaming IPC endpoint (uses named pipes on Windows, and Unix domain sockets otherwise). It is also an EventEmitter.