method
wait_for_writtable_socket
v2_6_3 -
Show latest stable
- Class:
Bundler::Settings::TCPSocketProbe
wait_for_writtable_socket(socket, address, timeout)private
No documentation available.
# File lib/bundler/mirror.rb, line 163
def wait_for_writtable_socket(socket, address, timeout)
if IO.select(nil, [socket], nil, timeout)
probe_writtable_socket(socket, address)
else # TCP Handshake timed out, or there is something dropping packets
false
end
end