Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for setSoTimeout (0.05 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                }
                socket.setSoTimeout( SO_TIMEOUT );
                */
    
                socket = new Socket();
                if (localAddr != null) {
                    socket.bind(new InetSocketAddress(localAddr, localPort));
                }
                socket.connect(new InetSocketAddress(address.getHostAddress(), 139), CONN_TIMEOUT);
                socket.setSoTimeout(SO_TIMEOUT);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

            this.connectionTimeout = connectionTimeout;
        }
    
        /**
         * Sets the socket timeout.
         * @param soTimeout The socket timeout in milliseconds.
         */
        public void setSoTimeout(final Integer soTimeout) {
            this.soTimeout = soTimeout;
        }
    
        /**
         * Sets the map of authentication scheme providers.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

      @Throws(SocketException::class)
      override fun setSoLinger(
        on: Boolean,
        timeout: Int,
      ) {
        delegate!!.setSoLinger(on, timeout)
      }
    
      @Throws(SocketException::class)
      override fun setSoTimeout(timeout: Int) {
        delegate!!.soTimeout = timeout
      }
    
      @Throws(SocketException::class)
      override fun setTcpNoDelay(on: Boolean) {
        delegate!!.tcpNoDelay = on
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NbtSocket.java

                final SessionServicePacket ssp0 = new SessionRequestPacket(calledName, NbtAddress.localhost.hostName);
                out.write(buffer, 0, ssp0.writeWireFormat(buffer, 0));
    
                setSoTimeout(soTimeout);
                type = SessionServicePacket.readPacketType(in, buffer, 0);
            } catch (final IOException ioe) {
                close();
                throw ioe;
            }
    
            switch (type) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java

            if (state != RdmaConnectionState.ESTABLISHED && state != RdmaConnectionState.CONNECTED) {
                throw new IOException("Connection not established");
            }
    
            try {
                socket.setSoTimeout(timeout);
    
                // First, read the header to determine message size
                ByteBuffer headerBuffer = ByteBuffer.allocate(4);
                while (headerBuffer.hasRemaining()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

             */
            try {
                this.socket.setSoTimeout(this.transportContext.getConfig().getConnTimeout());
                if (peekKey() == null) { /* try to read header */
                    throw new IOException("transport closed in negotiate");
                }
            } finally {
                this.socket.setSoTimeout(this.transportContext.getConfig().getSoTimeout());
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

            int nameTrnId;
            NameServicePacket response;
    
            try {
                while (thread == Thread.currentThread()) {
                    in.setLength(RCV_BUF_SIZE);
    
                    socket.setSoTimeout(closeTimeout);
                    socket.receive(in);
    
                    if (LogStream.level > 3) {
                        log.println("NetBIOS: new data read from socket");
                    }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

         *
         * The read timeout is applied to both the TCP socket and for individual read IO operations
         * including on [Source] of the [Response]. The default value is 10 seconds.
         *
         * @see Socket.setSoTimeout
         * @see Source.timeout
         */
        fun readTimeout(
          timeout: Long,
          unit: TimeUnit,
        ) = apply {
          readTimeout = checkDuration("timeout", timeout, unit)
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            try {
                while (this.thread == Thread.currentThread()) {
                    this.in.setLength(this.transportContext.getConfig().getNetbiosRcvBufSize());
    
                    this.socket.setSoTimeout(this.closeTimeout);
                    this.socket.receive(this.in);
    
                    log.trace("NetBIOS: new data read from socket");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

        }
    
        /**
         * Sets the socket timeout in milliseconds.
         *
         * @param soTimeout The socket timeout
         */
        public void setSoTimeout(final Integer soTimeout) {
            this.soTimeout = soTimeout;
        }
    
        /**
         * Sets the cookie specification to use.
         *
         * @param cookieSpec The cookie specification
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 52.2K bytes
    - Viewed (0)
Back to top