Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 71 for socket (0.2 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

          }
    
        /**
         * Sets the socket factory used to create connections. OkHttp only uses the parameterless
         * [SocketFactory.createSocket] method to create unconnected sockets. Overriding this method,
         * e. g., allows the socket to be bound to a specific local address.
         *
         * If unset, the [system-wide default][SocketFactory.getDefault] socket factory will be used.
         */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 51.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

            do {
                this.socket = new Socket();
                if (this.localAddr != null) {
                    this.socket.bind(new InetSocketAddress(this.localAddr, this.localPort));
                }
                this.socket.connect(new InetSocketAddress(this.address.getHostAddress(), 139), tc.getConfig().getConnTimeout());
                this.socket.setSoTimeout(tc.getConfig().getSoTimeout());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc4HttpClient.java

    import org.apache.http.conn.HttpClientConnectionManager;
    import org.apache.http.conn.routing.HttpRoutePlanner;
    import org.apache.http.conn.socket.ConnectionSocketFactory;
    import org.apache.http.conn.socket.LayeredConnectionSocketFactory;
    import org.apache.http.conn.socket.PlainConnectionSocketFactory;
    import org.apache.http.conn.ssl.NoopHostnameVerifier;
    import org.apache.http.conn.ssl.SSLConnectionSocketFactory;
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:52 GMT 2026
    - 54.4K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

      }
    
      @Test
      fun connection() {
        val connection =
          object : Connection {
            override fun route(): Route = TODO()
    
            override fun socket(): Socket = TODO()
    
            override fun handshake(): Handshake? = TODO()
    
            override fun protocol(): Protocol = TODO()
          }
      }
    
      @Test
      fun connectionPool() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 49.7K bytes
    - Click Count (0)
  5. docs/changelogs/changelog_3x.md

     *  New: charset support for `Credentials.basic()`.
    
    
    ## Version 3.5.0
    
    _2016-11-30_
    
     *  **Web Sockets are now a stable feature of OkHttp.** Since being introduced as a beta feature in
        OkHttp 2.3 our web socket client has matured. Connect to a server's web socket with
        `OkHttpClient.newWebSocket()`, send messages with `send()`, and receive messages with the
        `WebSocketListener`.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5HttpClient.java

        public void setMaxConnectionsPerRoute(final Integer maxConnectionsPerRoute) {
            this.maxConnectionsPerRoute = maxConnectionsPerRoute;
        }
    
        /**
         * Sets the socket timeout in milliseconds.
         *
         * @param soTimeout The socket timeout
         */
        public void setSoTimeout(final Integer soTimeout) {
            this.soTimeout = soTimeout;
        }
    
        /**
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sat Jan 31 12:23:29 GMT 2026
    - 62.2K bytes
    - Click Count (0)
  7. okhttp/api/jvm/okhttp.api

    public abstract interface class okhttp3/Connection {
    	public abstract fun handshake ()Lokhttp3/Handshake;
    	public abstract fun protocol ()Lokhttp3/Protocol;
    	public abstract fun route ()Lokhttp3/Route;
    	public abstract fun socket ()Ljava/net/Socket;
    }
    
    public final class okhttp3/ConnectionPool {
    	public fun <init> ()V
    	public fun <init> (IJLjava/util/concurrent/TimeUnit;)V
    	public final fun connectionCount ()I
    	public final fun evictAll ()V
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (0)
  8. docs/en/data/translation_reviewers.yml

      url: https://github.com/Ernilia
    socket-socket:
      login: socket-socket
      count: 10
      avatarUrl: https://avatars.githubusercontent.com/u/121552599?u=104df6503242e8d762fe293e7036f7260f245d49&v=4
      url: https://github.com/socket-socket
    nick-cjyx9:
      login: nick-cjyx9
      count: 10
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 07:31:54 GMT 2026
    - 66K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbSessionImpl.java

            // RPC endpoint mapper port and connection timeout
            final int RPC_ENDPOINT_PORT = 135;
            final int RPC_CONNECT_TIMEOUT_MS = 5000;
    
            try (Socket socket = new Socket()) {
                socket.connect(new InetSocketAddress(address, RPC_ENDPOINT_PORT), RPC_CONNECT_TIMEOUT_MS);
                return true;
            } catch (IOException e) {
                return false;
            }
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        val longString = repeat('a', Http2.INITIAL_MAX_FRAME_SIZE + 1)
        val socket = peer.openSocket()
        val connection =
          Http2Connection
            .Builder(true, TaskRunner.INSTANCE)
            .socket(socket.asBufferedSocket(), "peer")
            .pushObserver(IGNORE)
            .build()
        connection.start(sendConnectionPreface = false)
        socket.shutdownOutput()
        assertFailsWith<IOException> {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 75.5K bytes
    - Click Count (0)
Back to Top