class TCPSocket

公共类方法

new(host, serv, *rest) 点击切换源代码
# 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