method
new
v2_5_5 -
Show latest stable
- Class:
Resolv::DNS::Requester::TCP
new(host, port=Port)public
No documentation available.
# File lib/resolv.rb, line 894
def initialize(host, port=Port)
super()
@host = host
@port = port
sock = TCPSocket.new(@host, @port)
@socks = [sock]
@senders = {}
end