Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Nair (0.14 sec)

  1. okhttp-android/src/androidTest/kotlin/okhttp3/android/AndroidAsyncDnsTest.kt

      fun testDnsRequest() {
        val (allAddresses, exception) = dnsQuery("localhost")
    
        assertThat(exception).isNull()
        assertThat(allAddresses).isNotEmpty()
      }
    
      private fun dnsQuery(hostname: String): Pair<List<InetAddress>, Exception?> {
        val allAddresses = mutableListOf<InetAddress>()
        var exception: Exception? = null
        val latch = CountDownLatch(1)
    
        // assumes an IPv4 address
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (0)
Back to top