Flowdock
method

use_ipv6?

Importance_0
v1_9_2_180 - Show latest stable - 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 397
    def use_ipv6?
      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.