• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/data/hsphpreadconnection.php
  • Класс: BitrixMainDataHsphpReadConnection
  • Вызов: HsphpReadConnection::connectInternal
protected function connectInternal()
{
	if ($this->isConnected)
	{
		return;
	}

	$this->resource = new HSPHPReadSocket();
	$this->resource->connect($this->host, $this->port);
	$this->isConnected = true;
}