Skip to main content
Module

std/node/dgram.ts>Socket#connect

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

Parameters

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

Parameters

port: number
callback: () => void