Deleting socket files now

This commit is contained in:
Johannes Wendel
2020-01-06 15:04:06 +01:00
parent 83fe8675da
commit 2548aee081
2 changed files with 16 additions and 8 deletions

View File

@@ -48,6 +48,7 @@ private:
const char * OUTPUT_SOCKET_NAME = "S.flippR_driver.out";
const std::vector<std::string> REQUIRED_CONFIG_KEYS = {"display-config", "input-config", "lamp-config",
"matrix-config", "solenoid-config", "sound-config"};
std::string output_socket_file_path, input_socket_file_path;
int input_port;
int output_port;
@@ -62,9 +63,6 @@ private:
std::unique_ptr<Poco::Net::HTTPServer> output_server;
std::unique_ptr<Poco::Net::TCPServer> input_server;
Poco::File output_socket_file, input_socket_file;
};
};