method

probe_writtable_socket

probe_writtable_socket(socket, address)
private

No documentation available.

# File lib/bundler/mirror.rb, line 171
      def probe_writtable_socket(socket, address)
        socket.connect_nonblock(address)
      rescue Errno::EISCONN
        true
      rescue StandardError # Connection failed
        false
      end