Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for getHostAddress (0.8 sec)

  1. 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)
  2. 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)
  3. 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)
  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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  5. 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  6. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/services/NativeServices.java

            }
            String hostname;
            try {
                hostname = InetAddress.getLocalHost().getHostName();
            } catch (UnknownHostException e) {
                hostname = InetAddress.getLoopbackAddress().getHostAddress();
            }
            return new FixedHostname(hostname);
        }
    
        @Provides
        protected FileMetadataAccessor createFileMetadataAccessor(OperatingSystem operatingSystem) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:39 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  7. 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: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sun May 26 05:52:29 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/net/InetAddressesTest.java

            IllegalArgumentException.class,
            () -> InetAddresses.forString("1180::b059:65f4:e877:c40%eth9"));
      }
    
      public void testToAddrStringIPv4() {
        // Don't need to test IPv4 much; it just calls getHostAddress().
        assertEquals("1.2.3.4", InetAddresses.toAddrString(InetAddresses.forString("1.2.3.4")));
      }
    
      public void testToAddrStringIPv6() {
        assertEquals(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

                            NbtAddress.MASTER_BROWSER_NAME, 0x01, null);
                    addresses = new UniAddress[1];
                    addresses[0] = UniAddress.getByName( addr.getHostAddress() );
                } catch( UnknownHostException uhe ) {
                    NtlmPasswordAuthentication.initDefaults();
                    if( NtlmPasswordAuthentication.DEFAULT_DOMAIN.equals( "?" )) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
Back to top