potential fix for #677

This commit is contained in:
AlexandreRouma
2024-04-08 16:59:05 +02:00
parent e1c48e9a1f
commit 07eebd7018
2 changed files with 20 additions and 3 deletions

View File

@@ -71,6 +71,11 @@ namespace server {
std::mutex handledMtx;
};
enum ConnectionError {
CONN_ERR_TIMEOUT = -1,
CONN_ERR_BUSY = -2
};
class Client {
public:
Client(std::shared_ptr<net::Socket> sock, dsp::stream<dsp::complex_t>* out);