method

probe_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.

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