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
- #original_resolv_initialize Internal use only
::TCPSocket
- Inherited
Constructor Details
.new(host, serv) ⇒ SOCKSSocket
# File 'lib/resolv-replace.rb', line 73
def initialize(host, serv) original_resolv_initialize(IPSocket.getaddress(host), port) end
#initialize(host, serv) ⇒ SOCKSSocket
# 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
This method is for internal use only.
[ GitHub ]
# File 'lib/resolv-replace.rb', line 71
alias original_resolv_initialize initialize