method

open_socket

v1_8_7_330 - Show latest stable - Class: Net::FTP
open_socket(host, port)
private

No documentation available.

# File lib/net/ftp.rb, line 154
    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