Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getEmbeddedIPv4ClientAddress (0.14 sec)

  1. guava-tests/test/com/google/common/net/InetAddressesTest.java

        assertEquals(ipv4, InetAddresses.getEmbeddedIPv4ClientAddress(testIp));
    
        // Test 6to4 address.
        testIp = (Inet6Address) InetAddresses.forString("2002:0102:0304::1");
        assertTrue(InetAddresses.hasEmbeddedIPv4ClientAddress(testIp));
        ipv4 = InetAddresses.forString("1.2.3.4");
        assertEquals(ipv4, InetAddresses.getEmbeddedIPv4ClientAddress(testIp));
    
        // Test Teredo address.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/net/InetAddresses.java

       * @return {@link Inet4Address} of embedded IPv4 client address
       * @throws IllegalArgumentException if the argument does not have a valid embedded IPv4 address
       */
      public static Inet4Address getEmbeddedIPv4ClientAddress(Inet6Address ip) {
        if (isCompatIPv4Address(ip)) {
          return getCompatIPv4Address(ip);
        }
    
        if (is6to4Address(ip)) {
          return get6to4IPv4Address(ip);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InetAddresses.java

       * @return {@link Inet4Address} of embedded IPv4 client address
       * @throws IllegalArgumentException if the argument does not have a valid embedded IPv4 address
       */
      public static Inet4Address getEmbeddedIPv4ClientAddress(Inet6Address ip) {
        if (isCompatIPv4Address(ip)) {
          return getCompatIPv4Address(ip);
        }
    
        if (is6to4Address(ip)) {
          return get6to4IPv4Address(ip);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top