Module

std/node/dgram.ts>Socket#connect

Deno standard library
Go to Latest
method Socket.prototype.connect
import { Socket } from "https://dotland.deno.dev/std@0.124.0/node/dgram.ts";

Parameters

port: number
optional
address: string
optional
callback: () => void

Parameters

port: number
callback: () => void