public InetAddress address ( boolean resolve ) { if ( resolve ) { address = resolveAddress ( ) ; return address ; } if ( address == null ) { synchronized ( this ) { if ( address == null ) { address = resolveAddress ( ) ; } } } return address ; }
Returns the IP address .