Registry / networking / tcp-timeout

tcp-timeout

JSON →
library0.1.1rbrubygemsunverified

Wraps Socket to provide timeouts for connect, write, and read without using Timeout.timeout.

gem install tcp_timeout
INSTALL
IMPORT
SIG · TCP-TIMEOUT
T
tcp-timeout
networkingrubyv0.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TcpTimeout
require 'tcp_timeout'

Open a TCP connection with a connect timeout

require 'tcp_timeout' TcpTimeout.open('example.com', 80, connect_timeout: 5) { |s| s.write('GET /') }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
16
OpenAI (training)
1
Resources
tcp-timeout — gem install tcp-timeout · libregistry