import { Socket } from "https://dotland.deno.dev/std@0.177.0/node/dgram.ts";
Returns an object containing the address information for a socket.
For UDP sockets, this object will contain address
, family
and port
properties.
This method throws EBADF
if called on an unbound socket.