method
open_socket
open_socket(host, port)
private
Constructs a socket with host and port.
If SOCKSSocket is defined and the environment (ENV) defines SOCKS_SERVER, then a SOCKSSocket is returned, else a Socket is returned.
open_socket(host, port)
private
Constructs a socket with host and port.
If SOCKSSocket is defined and the environment (ENV) defines SOCKS_SERVER, then a SOCKSSocket is returned, else a Socket is returned.