ftp_pure::_connect()
Метод класса: ftp_pure{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$ftp_pure = new ftp_pure(); $ftp_pure->_connect( $host, $port );
- $host (обязательный)
- -
- $port (обязательный)
- -
Код ftp_pure::_connect() ftp pure:: connect WP 6.7.1
function _connect($host, $port) { $this->SendMSG("Creating socket"); $sock = @fsockopen($host, $port, $errno, $errstr, $this->_timeout); if (!$sock) { $this->PushError('_connect','socket connect failed', $errstr." (".$errno.")"); return FALSE; } $this->_connected=true; return $sock; }