# TCPSocket (Class)

In: | resolv-replace.rb
Parent: | Object

## Methods

new

## External Aliases

initialize -> original_resolv_initialize

## Public Class methods

new(host, serv, *rest)

[Source]

    # File resolv-replace.rb, line 21
      def initialize(host, serv, *rest)
        rest[0] = Resolv.getaddress(rest[0]).to_s unless rest.empty?
        original_resolv_initialize(Resolv.getaddress(host).to_s, serv, *rest)
      end

[Validate]