Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Ip (0.11 sec)

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

        /**
         * Check whether a hostname is actually an ip address
         * 
         * @param hostname
         * @return whether this is an IP address
         */
        public static boolean isDotQuadIP ( String hostname ) {
            if ( Character.isDigit(hostname.charAt(0)) ) {
                int i, len, dots;
                char[] data;
    
                i = dots = 0; /* quick IP address validation */
                len = hostname.length();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/UniAddress.java

                char[] data;
    
                i = dots = 0;                    /* quick IP address validation */
                len = hostname.length();
                data = hostname.toCharArray();
                while( i < len && Character.isDigit( data[i++] )) {
                    if( i == len && dots == 3 ) {
                        // probably an IP address
                        return true;
                    }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 16.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/Address.java

    
        /**
         * 
         * @return the resolved host name, or the host address if it could not be resolved
         */
        String getHostName ();
    
    
        /**
         * Return the IP address as text such as "192.168.1.15".
         * 
         * @return the ip address
         */
        String getHostAddress ();
    
    
        /**
         * 
         * @return this address as an InetAddress
         * @throws UnknownHostException
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 03 13:22:30 GMT 2018
    - 2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                if ( b > 0xFF ) {
                    return doNameQuery(name, svr);
                }
                IP = ( IP << 8 ) + b;
                hitDots++;
            }
            if ( hitDots != 4 || host.endsWith(".") ) {
                return doNameQuery(name, svr);
            }
            return new NbtAddress(getUnknownName(), IP, false, NbtAddress.B_NODE);
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

            /* JCIFS will build a composite list of shares if the target host has
             * multiple IP addresses such as when domain-based DFS is in play. Because
             * of this, to ensure that we query each IP individually without re-resolving
             * the hostname and getting a different IP, we must use the current addresses
             * IP rather than just url.getHost() like we were using prior to 1.2.16.
             */
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  6. src/main/java/jcifs/smb1/Config.java

                        nfe.printStackTrace( log );
                }
            }
            return def;
        }
    
        /** 
         * Retrieve an <code>InetAddress</code>. If the address is not
         * an IP address and cannot be resolved <code>null</code> will
         * be returned.
         */
    
        public static InetAddress getInetAddress( String key, InetAddress def ) {
            String addr = prp.getProperty( key );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/Lmhosts.java

                }
                else if ( Character.isDigit(line.charAt(0)) ) {
                    char[] data = line.toCharArray();
                    int ip, i, j;
                    Name name;
                    NbtAddress addr;
                    char c;
    
                    c = '.';
                    ip = i = 0;
                    for ( ; i < data.length && c == '.'; i++ ) {
                        int b = 0x00;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NbtAddress.java

         * 
         * 1) IP Address - If a dot-quad IP string is used with getByName (or used
         * to create an NbtAddress internal to this netbios package), no query is
         * sent on the wire and the only state this object has is it's IP address
         * (but that's enough to connect to a host using *SMBSERVER for CallingName).
         * 
         * 2) IP Address, NetBIOS name, nodeType, groupName - If however a
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 15.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NbtAddress.java

     * 
     * 1) IP Address - If a dot-quad IP string is used with getByName (or used
     * to create an NbtAddress internal to this netbios package), no query is
     * sent on the wire and the only state this object has is it's IP address
     * (but that's enough to connect to a host using *SMBSERVER for CallingName).
     * 
     * 2) IP Address, NetBIOS name, nodeType, groupName - If however a
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 30.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/NameServiceClient.java

    
        /**
         * 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.
         *
         * @param addr
         *            the address to query
         * @return resolved addresses
         * @throws UnknownHostException
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7.9K bytes
    - Viewed (0)
Back to top