shouldd stop

This commit is contained in:
ackimixs
2024-04-11 18:06:04 +02:00
parent 25a91ba5c9
commit cce9639fb6
2 changed files with 4 additions and 4 deletions

View File

@@ -45,8 +45,4 @@ int main(int argc, char* argv[]) {
}
return 0;
}
bool TCPClient::shouldStop() const {
return !running;
}

View File

@@ -79,4 +79,8 @@ void TCPClient::start() {
void TCPClient::stop() {
running = false;
close(clientSocket);
}
bool TCPClient::shouldStop() const {
return !running;
}