method

open_socket

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

Constructs 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.