Skip to main content
Go to Latest
method UDP.prototype.bind
import { UDP } from "https://deno.land/std@0.167.0/node/internal_binding/udp_wrap.ts";

Bind to an IPv4 address.

Parameters

ip: string

The hostname to bind to.

port: number

The port to bind to

flags: number

Returns

number

An error status code.