Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for getHostAddress (0.2 sec)

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

            do {
    /* These Socket constructors attempt to connect before SO_TIMEOUT can be applied
                if (localAddr == null) {
                    socket = new Socket( address.getHostAddress(), 139 );
                } else {
                    socket = new Socket( address.getHostAddress(), 139, localAddr, localPort );
                }
                socket.setSoTimeout( SO_TIMEOUT );
    */
    
                socket = new Socket();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                @Override
                public int compare ( Address o1, Address o2 ) {
                    Integer fail1 = SmbTransportPoolImpl.this.failCounts.get(o1.getHostAddress());
                    Integer fail2 = SmbTransportPoolImpl.this.failCounts.get(o2.getHostAddress());
                    if ( fail1 == null ) {
                        fail1 = 0;
                    }
                    if ( fail2 == null ) {
                        fail2 = 0;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/UniAddress.java

        }
    
        /**
         * Return the IP address as text such as "192.168.1.15".
         */
    
        public String getHostAddress() {
            if( addr instanceof NbtAddress ) {
                return ((NbtAddress)addr).getHostAddress();
            }
            return ((InetAddress)addr).getHostAddress();
        }
    
        /**
         * Return the a text representation of this address such as
         * <tt>MYCOMPUTER/192.168.1.15</tt>.
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NbtAddress.java

             * an IP address as the tconHostName which is the principal
             * use of this method.
             */
            if ( this.hostName.isUnknown() ) {
                return getHostAddress();
            }
            return this.hostName.name;
        }
    
    
        @Override
        public NetbiosName getName () {
            return this.hostName;
        }
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                throws MalformedURLException, DcerpcException {
            return DcerpcHandle.getHandle(String.format("ncacn_np:%s[endpoint=%s,address=%s]", loc.getServer(), ep, address.getHostAddress()), ctx);
        }
    
    
        static FileEntry[] doDfsRootEnum ( CIFSContext ctx, SmbResourceLocator loc, Address address ) throws IOException {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Jul 20 08:41:19 UTC 2019
    - 12.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/InetAddresses.java

                v6Address.getHostAddress(), v6Address.getAddress(), interfaceIndex);
          }
          try {
            NetworkInterface asInterface = NetworkInterface.getByName(scope);
            if (asInterface == null) {
              throw formatIllegalArgumentException("No such interface: '%s'", scope);
            }
            return Inet6Address.getByAddress(
                v6Address.getHostAddress(), v6Address.getAddress(), asInterface);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NbtAddress.java

     */ 
    
        public InetAddress getInetAddress() throws UnknownHostException {
            return InetAddress.getByName( getHostAddress() );
        }
    
    /** 
     * Returns this IP adress as a {@link java.lang.String} in the form "%d.%d.%d.%d".
     */ 
    
        public String getHostAddress() {    
            return (( address >>> 24 ) & 0xFF ) + "." +
                (( address >>> 16 ) & 0xFF ) + "." +
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/InetAddresses.java

                v6Address.getHostAddress(), v6Address.getAddress(), interfaceIndex);
          }
          try {
            NetworkInterface asInterface = NetworkInterface.getByName(scope);
            if (asInterface == null) {
              throw formatIllegalArgumentException("No such interface: '%s'", scope);
            }
            return Inet6Address.getByAddress(
                v6Address.getHostAddress(), v6Address.getAddress(), asInterface);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/TimeoutTest.java

                long start = System.currentTimeMillis();
                CIFSContext ctx = lowConnectTimeout(getContext());
                try ( SmbResource f = new SmbFile(
                    new URL("smb", addr.getHostAddress(), port, "/" + getTestShare() + "/connect.test", ctx.getUrlHandler()),
                    ctx) ) {
                    runConnectTimeoutTest(threadsBefore, start, ctx, f);
                }
            }
        }
    
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                final String hostname = ia.getHostName();
                if (StringUtil.isNotBlank(hostname)) {
                    buf.append(hostname);
                }
                final String ip = ia.getHostAddress();
                if (StringUtil.isNotBlank(ip)) {
                    if (buf.length() > 0) {
                        buf.append(" : ");
                    }
                    buf.append(ip);
                }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top