Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isDotQuadIP (0.15 sec)

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

         */
    
        public static UniAddress getByName( String hostname )
                                            throws UnknownHostException {
            return getByName( hostname, false );
        }
    
        static boolean isDotQuadIP( String hostname ) {
            if( Character.isDigit( hostname.charAt( 0 ))) {
                int i, len, dots;
                char[] data;
    
                i = dots = 0;                    /* quick IP address validation */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            if ( hostname == null || hostname.length() == 0 ) {
                throw new UnknownHostException();
            }
    
            if ( UniAddress.isDotQuadIP(hostname) ) {
                return new UniAddress[] {
                    new UniAddress(getNbtByName(hostname))
                };
            }
    
            if ( log.isTraceEnabled() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
Back to top