Class: SOCKSSocket
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
::TCPSocket,
::IPSocket
|
|
Instance Chain:
self,
::TCPSocket,
::IPSocket
|
|
Inherits: | TCPSocket |
Defined in: | lib/resolv-replace.rb |
Class Method Summary
Instance Method Summary
- #initialize(host, serv) ⇒ SOCKSSocket constructor
Constructor Details
.new(host, serv) ⇒ SOCKSSocket
# File 'lib/resolv-replace.rb', line 71
def initialize(host, serv) original_resolv_initialize(IPSocket.getaddress(host), port) end
#initialize(host, serv) ⇒ SOCKSSocket
# File 'lib/resolv-replace.rb', line 71
def initialize(host, serv) original_resolv_initialize(IPSocket.getaddress(host), port) end