Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setHostname (0.1 sec)

  1. src/main/java/jcifs/smb/SmbSessionImpl.java

            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);
                }
            }
    
            if ( log.isDebugEnabled() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

            if ( this.state == 5 || this.state == 6 ) {
                // don't reuse disconnecting/disconnected transports
                return false;
            }
            if ( hostName == null )
                hostName = addr.getHostName();
            return ( this.tconHostName == null || hostName.equalsIgnoreCase(this.tconHostName) ) && addr.equals(this.address)
                    && ( prt == 0 || prt == this.port ||
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

                        getContext().getNameServiceClient().getByName(this.url.getHost(), true);
                    }
                    else {
                        getContext().getNameServiceClient().getByName(this.url.getHost()).getHostName();
                    }
                }
                else {
                    // queryPath on a share root will fail, we only know whether this is one after we have resolved DFS
                    // referrals.
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
Back to top