Function Socket.getPeerAddress

Get the remote address of a connected socket.

SockAddr getPeerAddress () @nogc @trusted;