123456789_123456789_123456789_123456789_123456789_

Class: SOCKSSocket

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: TCPSocket
Defined in: lib/resolv-replace.rb

Class Method Summary

Instance Method Summary

Constructor Details

.new(host, serv) ⇒ SOCKSSocket

[ GitHub ]

  
# File 'lib/resolv-replace.rb', line 73

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

#initialize(host, serv) ⇒ SOCKSSocket

[ GitHub ]

  
# 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