Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Ip (0.14 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 Apr 28 00:10:09 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 Apr 28 00:10:09 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 03 13:22:30 GMT 2018
    - 2K bytes
    - Viewed (0)
  4. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.1K bytes
    - Viewed (0)
  5. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 15.2K bytes
    - Viewed (0)
  6. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/NetbiosAddress.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs;
    
    
    import java.net.UnknownHostException;
    
    
    /**
     * This class represents a NetBIOS over TCP/IP address. Under normal
     * conditions, users of jCIFS need not be concerned with this class as
     * name resolution and session services are handled internally by the smb package.
     * 
     * <p>
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  9. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  10. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 30.1K bytes
    - Viewed (0)
Back to top