method

wait_for_writtable_socket

ruby latest stable - Class: Bundler::Settings::TCPSocketProbe

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

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