public String getHostAddress ( ) { if ( addr instanceof NbtAddress ) { return ( ( NbtAddress ) addr ) . getHostAddress ( ) ; } return ( ( InetAddress ) addr ) . getHostAddress ( ) ; }
Return the IP address as text such as 192 . 168 . 1 . 15 .