GetAvailablePortOptions
import { GetAvailablePortOptions } from "jsr:@ende/net";interface
interface GetAvailablePortOptionsOptions for getAvailablePort.
Properties
preferredPort
preferredPort?: numberA port to check availability of first. If the port isn't available, fall back to another port.
Defaults to port 0, which will let the operating system choose an available port.
Default: 0