KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > NodeStatus


1 import jcifs.netbios.NbtAddress;
2
3 public class NodeStatus {
4
5     public static void main( String JavaDoc argv[] ) throws Exception JavaDoc {
6         NbtAddress[] addrs = NbtAddress.getAllByAddress( argv[0] );
7         for( int i = 0; i < addrs.length; i++ ) {
8             System.out.println( addrs[i] );
9         }
10     }
11 }
12
Popular Tags