method UDP.prototype.getsocknameimport { UDP } from "https://deno.land/std@0.177.0/node/internal_binding/udp_wrap.ts"; getsockname(sockname: Record<string, string | number>): numberPopulates the provided object with local address entries. Parameterssockname: Record<string, string | number>An object to add the local address entries to. ReturnsnumberAn error status code.