class TCPSocket
Public Class Methods
new(host, serv, *rest)
click to toggle source
# File resolv-replace-0.1.1/lib/resolv-replace.rb, line 23 def initialize(host, serv, *rest) rest[0] = IPSocket.getaddress(rest[0]) if rest[0] original_resolv_initialize(IPSocket.getaddress(host), serv, *rest) end