basicsocket.do_not_reverse_lookup = bool
Instance Public methods
Sets the ::do_not_reverse_lookup flag of basicsocket.
BasicSocket.do_not_reverse_lookup = false p TCPSocket.new("127.0.0.1", 80).do_not_reverse_lookup #=> false BasicSocket.do_not_reverse_lookup = true p TCPSocket.new("127.0.0.1", 80).do_not_reverse_lookup #=> true
Please login to continue.