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