method
new

new(host, port=Port)
public
Hide source
# File lib/resolv.rb, line 882 def initialize(host, port=Port) super() @host = host @port = port sock = TCPSocket.new(@host, @port) @socks = [sock] @senders = {} end