Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method TCP.prototype.open
import { TCP } from "https://deno.land/std@0.123.0/node/internal_binding/tcp_wrap.ts";

Opens a file descriptor.

Parameters

_fd: number

The file descriptor to open.

Returns

number

An error status code.