method Socket.prototype.on
Usage in Deno
import { Socket } from "node:net";
Socket.prototype.on(event: "lookup",listener: (err: Error,address: string,family: string | number,host: string,) => void,): this
import { Socket } from "node:net";
Socket.prototype.on(event: "lookup",listener: (err: Error,address: string,family: string | number,host: string,) => void,): this