Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 214 for sohbet (0.04 seconds)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/SpecificHostSocketFactory.kt

      }
    
      override fun createSocket(): Socket =
        object : Socket() {
          override fun connect(
            endpoint: SocketAddress?,
            timeout: Int,
          ) {
            val requested = (endpoint as InetSocketAddress)
            val inetSocketAddress = hostMapping[requested.address] ?: defaultAddress ?: requested
            Platform.get().log("Socket connection to: $inetSocketAddress was: $requested")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  2. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt

        ).filter { it.isSupported() }
    
      @Throws(IOException::class)
      override fun connectSocket(
        socket: Socket,
        address: InetSocketAddress,
        connectTimeout: Int,
      ) {
        try {
          socket.connect(address, connectTimeout)
        } catch (e: ClassCastException) {
          // On android 8.0, socket.connect throws a ClassCastException due to a bug
          // see https://issuetracker.google.com/issues/63649622
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Oct 10 05:19:46 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java

        private static final Logger log = LoggerFactory.getLogger(TcpRdmaConnection.class);
    
        private SocketChannel socketChannel;
        private Socket socket;
    
        /**
         * Create new TCP RDMA connection
         *
         * @param remote remote socket address
         * @param local local socket address, may be null
         */
        public TcpRdmaConnection(InetSocketAddress remote, InetSocketAddress local) {
            super(remote, local);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt

          .build()
    
      class SocketClosingEventListener : EventListener() {
        var shouldClose: Boolean = false
        var lastSocket: Socket? = null
    
        override fun connectionAcquired(
          call: Call,
          connection: Connection,
        ) {
          lastSocket = connection.socket()
        }
    
        override fun requestHeadersStart(call: Call) {
          if (shouldClose) {
            lastSocket!!.close()
          }
        }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jul 29 21:11:09 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt

        sequenceNumber: Int,
        socket: Socket,
        failure: IOException? = null,
      ) {
        this.requestLine = requestLine
        this.headers = headers
        this.chunkSizes = chunkSizes
        this.bodySize = bodySize
        this.body = body
        this.sequenceNumber = sequenceNumber
        this.failure = failure
    
        if (socket is SSLSocket) {
          try {
            this.handshake = socket.session.handshake()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  6. docs/contribute/concurrency.md

    We can't rely on application threads to read data from the socket. Application threads are transient: sometimes they're reading and writing and sometimes they're off doing application-layer things. But the socket is permanent, and it needs constant attention: we dispatch all incoming frames so the connection is good-to-go when the application layer needs it.
    
    So we have a dedicated thread for every socket that just reads frames and dispatches them.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 7K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

      override val route: Route,
      /** The low-level TCP socket. */
      private val rawSocket: JavaNetSocket,
      /**
       * The application layer socket. Either an [SSLSocket] layered over [rawSocket], or [rawSocket]
       * itself if this connection does not use SSL.
       */
      private val javaNetSocket: JavaNetSocket,
      private val handshake: Handshake?,
      private val protocol: Protocol,
      private val socket: BufferedSocket,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 21:55:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocketFactory.kt

      override fun getSupportedCipherSuites(): Array<String> = delegate.supportedCipherSuites
    
      @Throws(IOException::class)
      override fun createSocket(
        socket: Socket,
        host: String,
        port: Int,
        autoClose: Boolean,
      ): SSLSocket {
        val sslSocket = delegate.createSocket(socket, host, port, autoClose) as SSLSocket
        return configureSocket(sslSocket)
      }
    
      @Throws(IOException::class)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/SocketEffect.kt

       * after the response and will close the connection when the client's socket is exhausted.
       *
       * On HTTP/1 this closes the socket.
       */
      public object ShutdownConnection : SocketEffect
    
      /**
       * On HTTP/2 this will send the error code on the stream.
       *
       * On HTTP/1 this closes the socket.
       */
      public class CloseStream(
        public val http2ErrorCode: Int = 0,
      ) : SocketEffect
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                 * because we might close the socket during a
                 * request. However the chances are slim and the
                 * retry code should ensure the overall request
                 * is serviced. The alternative complicates things
                 * more than I think is worth it.
                 */
    
                if (socket != null) {
                    socket.close();
                    socket = null;
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 17.6K bytes
    - Click Count (0)
Back to Top