remoteAddress property

InternetAddress remoteAddress

Returns the remote InternetAddress connected to by this socket.

Throws a SocketException if the socket is closed.

Implementation

InternetAddress get remoteAddress;