InternetAddress remoteAddress

Returns the remote InternetAddress connected to by this socket.

Source

InternetAddress get remoteAddress;