Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for NetworkInterface (0.09 sec)

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

        ImmutableSet.Builder<String> builder = ImmutableSet.builder();
        Enumeration<NetworkInterface> interfaces = NetworkInterface.getNetworkInterfaces();
        assertTrue(interfaces.hasMoreElements());
        while (interfaces.hasMoreElements()) {
          NetworkInterface i = interfaces.nextElement();
          builder.add(i.getName()).add(String.valueOf(i.getIndex()));
        }
        return builder.build();
    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

          if (interfaceIndex != -1) {
            return Inet6Address.getByAddress(
                v6Address.getHostAddress(), v6Address.getAddress(), interfaceIndex);
          }
          try {
            NetworkInterface asInterface = NetworkInterface.getByName(scope);
            if (asInterface == null) {
              throw formatIllegalArgumentException("No such interface: '%s'", scope);
            }
            return Inet6Address.getByAddress(
    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. docs/changelogs/changelog_1x.md

       `X-Android-Selected-Transport` to read the negotiated transport.
    
    
    ## Version 1.0.2
    
    _2013-05-11_
    
     * Fix: Remove use of Java 6-only APIs.
     * Fix: Properly handle exceptions from `NetworkInterface` when querying MTU.
     * Fix: Ensure MTU has a reasonable default and upper-bound.
    
    
    ## Version 1.0.1
    
    _2013-05-06_
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/InetAddresses.java

          if (interfaceIndex != -1) {
            return Inet6Address.getByAddress(
                v6Address.getHostAddress(), v6Address.getAddress(), interfaceIndex);
          }
          try {
            NetworkInterface asInterface = NetworkInterface.getByName(scope);
            if (asInterface == null) {
              throw formatIllegalArgumentException("No such interface: '%s'", scope);
            }
            return Inet6Address.getByAddress(
    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