All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jcifs_1.3.3.examples.Query Maven / Gradle / Ivy

import jcifs.netbios.NbtAddress;
import jcifs.UniAddress;
import java.net.InetAddress;

public class Query {

    public static void main( String argv[] ) throws Exception {
        UniAddress ua;
        String cn;

        ua = UniAddress.getByName( argv[0] );

        cn = ua.firstCalledName();
        do {
            System.out.println( "calledName=" + cn );
        } while(( cn = ua.nextCalledName() ) != null );
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy