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