connection now works

This commit is contained in:
jakani24
2024-03-19 21:46:08 +01:00
parent fd20338513
commit 0195bbbe23
29 changed files with 136 additions and 130 deletions

View File

@@ -131,14 +131,10 @@ void scan_folder(nanogui::Screen* screen, nanogui::Widget* contentWidget, const
if (status == "end")
answered = true;
}
else {
//answered = true;
nanogui::Label* lineLabel10 = new nanogui::Label(contentWidget, "Error: Unable to talk to daemon!\n");
nanogui::Label* lineLabel11 = new nanogui::Label(contentWidget, "------------------------------------------");
screen->performLayout();
}
}
inputFile.close();
Sleep(50);
std::ofstream (ANSWER_COM_PATH);//clear the file
}
// Wait for 1 second before checking again
std::this_thread::sleep_for(std::chrono::seconds(1));