method

use_ipv6?

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: Resolv::DNS
use_ipv6?() private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/resolv.rb, line 412
    def use_ipv6? # :nodoc:
      begin
        list = Socket.ip_address_list
      rescue NotImplementedError
        return true
      end
      list.any? {|a| a.ipv6? && !a.ipv6_loopback? && !a.ipv6_linklocal? }
    end
Register or log in to add new notes.