method

open_socket

Importance_0
Ruby latest stable (v1_8_7_72) - 0 notes - Class: Net::FTP
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 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
Register or log in to add new notes.