Class: SOCKSSocket (Ruby 2.2.2)
Description: Class : SOCKSSocket - Ruby 2.2.2

- Home
- Core 2.2.2
- Std-lib 2.2.2
- Downloads

Support for the Ruby 2.2 series has ended. See here for reference.

### Home Classes Methods

### In Files

- resolv-replace.rb

### Parent

TCPSocket

### Methods

- ::new

### Class/Module Index

Quicksearch

- IPSocket
- SOCKSSocket
- TCPSocket
- UDPSocket

No matching classes.

# SOCKSSocket

### Public Class Methods

new(host, serv) click to toggle source

                   # File resolv-replace.rb, line 71
    def initialize(host, serv)
      original_resolv_initialize(IPSocket.getaddress(host), port)
    end