method Socket.prototype.address
Usage in Deno
```typescript import { Socket } from "node:node__dgram.d.ts"; ```
Socket.prototype.address(): AddressInfo
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.