method Socket.prototype.emit
Usage in Deno
import { Socket } from "node:net";
Socket.prototype.emit(event: "connectionAttemptFailed",ip: string,port: number,family: number,): boolean
Socket.prototype.emit(event: "connectionAttemptTimeout",ip: string,port: number,family: number,): boolean