• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/web/ipaddress.php
  • Класс: BitrixMainWebIpAddress
  • Вызов: IpAddress::createByName
static function createByName($name)
{
	$ip = gethostbyname($name);
	return new static($ip);
}