method
open_socket

open_socket(host, port)
private
Hide source
# File lib/net/ftp.rb, line 184 def open_socket(host, port) if defined? SOCKSSocket and ENV["SOCKS_SERVER"] @passive = true return SOCKSSocket.open(host, port) else return TCPSocket.open(host, port) end end