Go to Latest
method Socket.prototype.remoteAddress
import { Socket } from "https://dotland.deno.dev/std@0.145.0/node/dgram.ts";

Returns an object containing the address, family, and port of the remote endpoint. This method throws an ERR_SOCKET_DGRAM_NOT_CONNECTED exception if the socket is not connected.