/** * Actually opens the low level socket. * @param string $host Host to connect to. * @param integer $port Port on host. * @param integer $error_number Recipient of error code. * @param string $error Recipient of error message. * @param integer $timeout Maximum time to wait for connection. * @access protected */ function _openSocket($host, $port, &$error_number, &$error, $timeout) { return parent::_openSocket("tls://{$host}", $port, $error_number, $error, $timeout); }