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

Populates the provided object with local address entries.

Parameters

sockname: Record<string, string | number>

An object to add the local address entries to.

Returns

number

An error status code.