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