class Bundler::Settings::TCPSocketProbe

def probe_writtable_socket(socket, address)

def probe_writtable_socket(socket, address)
  socket.connect_nonblock(address)
rescue Errno::EISCONN
  true
rescue # Connection failed
  false
end