open_socket(host, port) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

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
Register or log in to add new notes.