Skip to main content
Module

std/node/dgram.ts>Socket#bind

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

Parameters

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

Parameters

port: number
optional
callback: () => void

Parameters

callback: () => void

Parameters

options: BindOptions
optional
callback: () => void

Parameters

..._args: unknown[]