InternetAddress address

Returns the InternetAddress used to connect this socket.

Source

InternetAddress get address;