Class: SOCKSSocket
- Defined in:
- lib/resolv-replace.rb
Instance Method Summary collapse
-
#initialize(host, serv) ⇒ SOCKSSocket
constructor
:startdoc:.
-
#original_resolv_initialize ⇒ SOCKSSocket
:startdoc: :stopdoc:.
Methods inherited from IPSocket
getaddress, original_resolv_getaddress
Constructor Details
#initialize(host, serv) ⇒ SOCKSSocket
:startdoc:
73 74 75 |
# File 'lib/resolv-replace.rb', line 73 def initialize(host, serv) original_resolv_initialize(IPSocket.getaddress(host), port) end |
Instance Method Details
#original_resolv_initialize ⇒ SOCKSSocket
:startdoc: :stopdoc:
71 72 73 |
# File 'lib/resolv-replace.rb', line 71 def initialize(host, serv) original_resolv_initialize(IPSocket.getaddress(host), port) end |