xPaw PHP Source Query

Поставил себе https://github.com/xPaw/PHP-Source-Query При обработке сервера, когда он выключен, пишет: Failed to read any data from socket Как получить, что сервер выключен? игра Rust

        $Query = new SourceQuery();

        try {
            $Query->Connect('IP', 'PORT', 5, SourceQuery::SOURCE);
            $server = $Query->GetInfo();
            dd($server);
        } catch ( Exception $error ) {
            echo $error;
        }

        $Query->Disconnect();

Ответы (0 шт):