Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Sethostname (0.08 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 Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K 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 Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top