Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for getHostAddress (0.17 sec)

  1. 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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  2. 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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportImpl.java

                if ( this.localAddr != null )
                    this.socket.bind(new InetSocketAddress(this.localAddr, this.localPort));
                this.socket.connect(new InetSocketAddress(this.address.getHostAddress(), 139), tc.getConfig().getConnTimeout());
                this.socket.setSoTimeout(tc.getConfig().getSoTimeout());
    
                this.out = this.socket.getOutputStream();
                this.in = this.socket.getInputStream();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbSessionImpl.java

                Subject s ) throws SmbException {
    
            String host = getTargetHost();
            if ( host == null ) {
                host = trans.getRemoteAddress().getHostAddress();
                try {
                    host = trans.getRemoteAddress().getHostName();
                }
                catch ( Exception e ) {
                    log.debug("Failed to resolve host name", e);
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/NetworkExplorer.java

                    if ( pathInfo == null || server == null ) {
                        String mb = nameServiceClient.getNbtByName(NbtAddress.MASTER_BROWSER_NAME, 0x01, null).getHostAddress();
                        dc = nameServiceClient.getByName(mb);
                    }
                    else {
                        dc = nameServiceClient.getByName(server, possibleWorkgroup);
                    }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                    byte[] challenge;
    
                    if( pathInfo == null || server == null ) {
                        String mb = NbtAddress.getByName( NbtAddress.MASTER_BROWSER_NAME, 0x01, null ).getHostAddress();
                        dc = UniAddress.getByName( mb );
                    } else {
                        dc = UniAddress.getByName( server, possibleWorkgroup );
                    }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/FileLocationTest.java

            try ( SmbResource r = new SmbFile("smb://TESTING/IPC$/?address=1.2.3.4", getContext()) ) {
                Address a = r.getLocator().getAddress();
                assertEquals("1.2.3.4", a.getHostAddress());
            }
        }
    
    
        @Test
        @Ignore
        public void testRelativeWhitespaceStart () throws Exception {
            try ( SmbResource r = new SmbFile("smb://0.0.0.0/asdasf/", getContext());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                return env.get("COMPUTERNAME");
            }
            if (env.containsKey("HOSTNAME")) {
                return env.get("HOSTNAME");
            }
            try {
                return InetAddress.getLocalHost().getHostAddress();
            } catch (final UnknownHostException e) {
                logger.debug("Unknown hostname.", e);
            }
            return "Unknown";
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                                    : " with scope " + addr.getName().getScope() )
                            + " for host " + addr.getHostAddress());
            }
        }
    
    
        /**
         * 
         * @param tc
         * @return address of active WINS server
         */
        protected InetAddress getWINSAddress () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                            this.addresses = new UniAddress[1];
                            this.addresses[ 0 ] = this.ctx.getNameServiceClient().getByName(addr.getHostAddress());
                        }
                        catch ( UnknownHostException uhe ) {
                            log.debug("Unknown host", uhe);
                            if ( this.ctx.getConfig().getDefaultDomain() == null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
Back to top