tcp-timeout-ruby
tcp-timeout-ruby copied to clipboard
Ruby TCPSocket-alike with timeouts, avoiding Timeout.timeout
Results
2
tcp-timeout-ruby issues
Sort by
recently updated
recently updated
newest added
connect_timeout raise SocketTimeout, "#{type} timeout" only read timeout/ write timeout ` def select_timeout(type, timeout) if timeout >= 0 if type == :read read_array = [@socket] else write_array = [@socket] end...
I use `recv_nonblock` to do a peek, and have added it in my fork. If amenable, I can submit a pull request