Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for IPv4 (0.01 sec)

  1. guava/src/com/google/common/net/InetAddresses.java

        }
    
        return true;
      }
    
      /**
       * Returns the IPv4 address embedded in an IPv4 compatible address.
       *
       * @param ip {@link Inet6Address} to be examined for an embedded IPv4 address
       * @return {@link Inet4Address} of the embedded IPv4 address
       * @throws IllegalArgumentException if the argument is not a valid IPv4 compatible address
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt

        val request = Request(server1.url("/"))
    
        server1.enqueue(refusedStream)
        server2.enqueue(bodyResponse)
    
        dns[server1.hostName] = listOf(ipv6, ipv4)
        socketFactory[ipv6] = server1.socketAddress
        socketFactory[ipv4] = server2.socketAddress
    
        client =
          client
            .newBuilder()
            .fastFallback(false)
            .apply {
              retryOnConnectionFailure = false
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InetAddresses.java

        }
    
        return true;
      }
    
      /**
       * Returns the IPv4 address embedded in an IPv4 compatible address.
       *
       * @param ip {@link Inet6Address} to be examined for an embedded IPv4 address
       * @return {@link Inet4Address} of the embedded IPv4 address
       * @throws IllegalArgumentException if the argument is not a valid IPv4 compatible address
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

    import org.junitpioneer.jupiter.RetryingTest
    import org.opentest4j.TestAbortedException
    
    /**
     * This test binds two different web servers (IPv4 and IPv6) to the same port, but on different
     * local IP addresses. Requests made to `127.0.0.1` will reach the IPv4 server, and requests made to
     * `::1` will reach the IPv6 server.
     *
     * By orchestrating two different servers with the same port but different IP addresses, we can
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

      }
      return result.readUtf8()
    }
    
    /**
     * Returns the canonical address for [address]. If [address] is an IPv6 address that is mapped to an
     * IPv4 address, this returns the IPv4-mapped address. Otherwise, this returns [address].
     *
     * https://en.wikipedia.org/wiki/IPv6#IPv4-mapped_IPv6_addresses
     */
    internal fun canonicalizeInetAddress(address: ByteArray): ByteArray =
      when {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

         * @return IP address
         */
        public InetAddress getAddress() {
            return address;
        }
    
        /**
         * Check if this is an IPv6 address
         *
         * @return true if IPv6, false if IPv4
         */
        public boolean isIpv6() {
            return ipv6;
        }
    
        /**
         * Check if RSS is supported
         *
         * @return true if RSS capable
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

        /**
         * Checks if EPSV command should be used with IPv4.
         *
         * @return True if EPSV with IPv4 is enabled, false otherwise
         */
        public boolean isUseEPSVwithIPv4() {
            return useEPSVwithIPv4;
        }
    
        /**
         * Sets whether EPSV command should be used with IPv4.
         *
         * @param useEPSVwithIPv4 True to enable EPSV with IPv4, false to disable
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  8. CHANGELOG.md

    | com.squareup.okhttp3:mockwebserver:5.0.0         | okhttp3.mockwebserver | Obsolete. Depends on JUnit 4.     |
    
    **OkHttp now supports Happy Eyeballs ([RFC 8305][rfc_8305]) for IPv4+IPv6 networks.** It attempts
    both IPv6 and IPv4 connections concurrently, keeping whichever connects first.
    
    **We’ve improved our Kotlin APIs.** You can skip the builder:
    
    ```kotlin
    val request = Request(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (1)
  9. docs/smb3-features/06-witness-protocol-design.md

            private final int flags;
            
            public static final int IPV4 = 0x01;
            public static final int IPV6 = 0x02;
            
            public WitnessIPAddress(InetAddress address) {
                this.address = address;
                this.flags = address.getAddress().length == 4 ? IPV4 : IPV6;
            }
            
            public InetAddress getAddress() { return address; }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  10. docs/smb3-features/03-multi-channel-design.md

            
            if (rssCapable) score += 1000;   // Prefer RSS-capable
            if (rdmaCapable) score += 2000;  // Prefer RDMA-capable
            if (!ipv6) score += 100;         // Slight preference for IPv4
            
            return score;
        }
        
        private boolean checkRSSCapability() {
            // Platform-specific RSS detection
            // Simplified implementation
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
Back to top