Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 145 for InetAddress (0.05 sec)

  1. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java

      @Override public ServerSocket createServerSocket(int port, int backlog) throws IOException {
        return createServerSocket();
      }
    
      @Override public ServerSocket createServerSocket(
          int port, int backlog, InetAddress inetAddress) throws IOException {
        return createServerSocket();
      }
    
      final class UnixDomainServerSocket extends ServerSocket {
        private UnixServerSocketChannel serverSocketChannel;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Feb 12 16:33:52 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  2. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt

            add(buildCryptoSx(client)) // 521 - server down
          }
          add(buildChantra(client))
        }
    
      private fun getByIp(host: String): InetAddress =
        try {
          InetAddress.getByName(host)
        } catch (e: UnknownHostException) {
          // unlikely
          throw RuntimeException(e)
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/internal/RecordedRequestFactory.kt

      headers: Headers,
    ): HttpUrl {
      val hostAndPort =
        headers[":authority"]
          ?: headers["Host"]
          ?: when (val inetAddress = socket.localAddress) {
            is Inet6Address -> "[${inetAddress.hostAddress}]:${socket.localPort}"
            else -> "${inetAddress.hostAddress}:${socket.localPort}"
          }
    
      // For OPTIONS, the request target may be a '*', like 'OPTIONS * HTTP/1.1'.
      val path =
        when {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 12:43:16 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

        delegate!!.close()
      }
    
      override fun getInetAddress(): InetAddress = delegate!!.inetAddress
    
      @Throws(IOException::class)
      override fun getInputStream(): InputStream = delegate!!.inputStream
    
      @Throws(SocketException::class)
      override fun getKeepAlive(): Boolean = delegate!!.keepAlive
    
      override fun getLocalAddress(): InetAddress = delegate!!.localAddress
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NbtSocket.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.netbios;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.InetAddress;
    import java.net.Socket;
    
    import jcifs.smb1.Config;
    import jcifs.smb1.util.LogStream;
    
    /**
    Do not use this class. Writing to the OutputStream of this type of socket
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

        private int[] resolveOrder;
    
        InetAddress laddr, baddr;
    
        NameServiceClient() {
            this(LPORT, LADDR);
        }
    
        NameServiceClient(final int lport, final InetAddress laddr) {
            this.lport = lport;
            this.laddr = laddr;
    
            try {
                baddr = Config.getInetAddress("jcifs.smb1.netbios.baddr", InetAddress.getByName("255.255.255.255"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

         */
        public void setIpAddress(String ipAddress) {
            this.ipAddress = ipAddress;
        }
    
        /**
         * Sets the IP address from an InetAddress.
         *
         * @param address the InetAddress
         */
        public void setIpAddress(InetAddress address) {
            if (address != null) {
                this.ipAddress = address.getHostAddress();
            }
        }
    
        /**
         * Gets the IP address.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingServerSocketFactory.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.io.IOException
    import java.net.InetAddress
    import java.net.ServerSocket
    import javax.net.ServerSocketFactory
    
    /**
     * A [ServerSocketFactory] that delegates calls. Sockets can be configured after creation by
     * overriding [.configureServerSocket].
     */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/witness/WitnessClient.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.witness;
    
    import java.io.IOException;
    import java.net.InetAddress;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.CompletableFuture;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.Executors;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

      val clientTestRule = OkHttpClientTestRule()
    
      // Don't use JUnit 5 test rules for these; otherwise we can't bind them to a single local IP.
      private lateinit var localhostIpv4: InetAddress
      private lateinit var localhostIpv6: InetAddress
      private lateinit var serverIpv4: MockWebServer
      private lateinit var serverIpv6: MockWebServer
    
      private val listener = RecordingEventListener()
      private lateinit var client: OkHttpClient
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top