public static NbtAddress [ ] getAllByAddress ( NbtAddress addr ) throws UnknownHostException { try { NbtAddress [ ] addrs = CLIENT . getNodeStatus ( addr ) ; cacheAddressArray ( addrs ) ; return addrs ; } catch ( UnknownHostException uhe ) { throw new UnknownHostException ( "no name with type 0x" + Hexdump . toHexString ( addr . hostName . hexCode , 2 ) + ( ( ( addr . hostName . scope == null ) || ( addr . hostName . scope . length ( ) == 0 ) ) ? " with no scope" : " with scope " + addr . hostName . scope ) + " for host " + addr . getHostAddress ( ) ) ; } }
Retrieve all addresses of a host by it s address . NetBIOS hosts can have many names for a given IP address . The name and IP address make the NetBIOS address . This provides a way to retrieve the other names for a host with the same IP address .