- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 1,044 for socket (0.43 sec)
-
docs/smb3-features/06-witness-protocol-design.md
} return null; // No witness service found } private boolean isWitnessServiceAvailable(InetAddress address) { try (Socket socket = new Socket()) { socket.connect(new InetSocketAddress(address, 135), 5000); // RPC endpoint return true; } catch (IOException e) { return false; } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
internal/http/server.go
} // UseCustomLogger use customized logger for this HTTP *Server func (srv *Server) UseCustomLogger(l *log.Logger) *Server { srv.ErrorLog = l return srv } // UseTCPOptions use custom TCP options on raw socket func (srv *Server) UseTCPOptions(opts TCPOptions) *Server { srv.TCPOptions = opts return srv } // NewServer - creates new HTTP server using given arguments. func NewServer(addrs []string) *Server {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 6.5K bytes - Viewed (0) -
container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt
import org.mockserver.logging.MockServerLogger import org.mockserver.model.HttpRequest.request import org.mockserver.model.HttpResponse.response import org.mockserver.proxyconfiguration.ProxyConfiguration import org.mockserver.socket.tls.KeyStoreFactory import org.testcontainers.containers.MockServerContainer import org.testcontainers.junit.jupiter.Container import org.testcontainers.junit.jupiter.Testcontainers @Testcontainers class BasicProxyTest {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.2K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt
object : EventListener() { override fun connectionAcquired( call: Call, connection: Connection, ) { val sslSocket = connection.socket() as SSLSocket sessionIds.add( sslSocket.session.id .toByteString() .hex(), ) } },
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 5.9K bytes - Viewed (1) -
src/main/java/jcifs/Configuration.java
* * Property {@code jcifs.smb.client.soTimeout} (int, default 35000) * * @return socket timeout, in milliseconds */ int getSoTimeout(); /** * * Property {@code jcifs.smb.client.connTimeout} (int, default 35000) * * @return timeout for establishing a socket connection, in milliseconds */ int getConnTimeout(); /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 25.4K bytes - Viewed (0) -
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 ()VRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 70.2K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
/** * Process the response without even attempting to reading the request body. For HTTP/2 this * will close the response stream after the response body or trailers. For HTTP/1 this will * close the socket after the response body or trailers. */ public fun doNotReadRequestBody(): Builder = apply { doNotReadRequestBody = true onResponseEnd = CloseStream(ErrorCode.NO_ERROR.httpCode)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 17.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt
inflater.close() assertFailsWith<Exception> { inflater.inflate("f240e30300".decodeHex()) } } /** * Test for an [EOFException] caused by mishandling of fragmented buffers in web socket * compression. https://github.com/square/okhttp/issues/5965 */ @Test fun `inflate golden value in buffer that has been fragmented`() { val inflater = MessageInflater(false)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Sep 21 06:26:07 UTC 2025 - 6.4K bytes - Viewed (0) -
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; } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt
).build() dns["san.com"] = Dns.SYSTEM.lookup(server.hostName).subList(0, 1) assert200Http2Response(execute(url), server.hostName) // Simulate a stale connection in the pool. connection.get()!!.socket().close() val sanUrl = url.newBuilder().host("san.com").build() assert200Http2Response(execute(sanUrl), "san.com") assertThat(client.connectionPool.connectionCount()).isEqualTo(1) } /**
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jun 19 11:44:16 UTC 2025 - 19.1K bytes - Viewed (0)