Class: SOCKSSocket

Inherits:
TCPSocket show all
Defined in:
lib/resolver_replace/replace.rb

Instance Method Summary collapse

Methods inherited from IPSocket

getaddress, original_resolver_getaddress

Constructor Details

#initialize(host, serv) ⇒ SOCKSSocket

:startdoc:


73
74
75
# File 'lib/resolver_replace/replace.rb', line 73

def initialize(host, serv)
  original_resolver_initialize(IPSocket.getaddress(host), port)
end

Instance Method Details

#original_resolver_initializeSOCKSSocket

:startdoc: :stopdoc:

Returns:


71
72
73
# File 'lib/resolver_replace/replace.rb', line 71

def initialize(host, serv)
  original_resolver_initialize(IPSocket.getaddress(host), port)
end