Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getDomainByName (0.1 sec)

  1. src/main/java/jcifs/netbios/UniAddress.java

         * and return successful suffix or throw an UnknownHostException.
         * import javax.naming.*;
         * import javax.naming.directory.*;
         * public static String getDomainByName(String name) throws UnknownHostException {
         * DirContext context;
         * UnknownHostException uhe = null;
         * 
         * try {
         * context = new InitialDirContext();
         * for ( ;; ) {
         * try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/UniAddress.java

         * Perform DNS SRV lookup on successively shorter suffixes of name
         * and return successful suffix or throw an UnknownHostException.
    import javax.naming.*;
    import javax.naming.directory.*;
        public static String getDomainByName(String name) throws UnknownHostException {
            DirContext context;
            UnknownHostException uhe = null;
    
            try {
                context = new InitialDirContext();
                for ( ;; ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
Back to top