From: Eric Wong Date: 2011-07-27T23:44:03+09:00 Subject: [ruby-core:38565] Re: [Ruby 1.9 - Feature #5101][Open] allow optional timeout for TCPSocket.new Eric Wong wrote: > Proposed API would be: > > TCPSocket.new(remote_host, remote_port, > connect_timeout: 0.5, local_host: nil, local_port: nil) Btw, I'll gladly provide patches + tests if the API is approved or a better one is suggested :>