method

open_socket

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

Contructs a socket with host and port.

If SOCKSSocket is defined and the environment (ENV) defines SOCKS_SERVER, then a SOCKSSocket is returned, else a TCPSocket is returned.