Skip to main content
Server.prototype.maxConnections - net - Node documentation
property Server.prototype.maxConnections

Usage in Deno

import { Server } from "node:net";

Set this property to reject connections when the server's connection count gets high.

It is not recommended to use this option once a socket has been sent to a child with child_process.fork().

Type

number