mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-25 20:07:51 +02:00
Fixed rigctl server
This commit is contained in:
@ -310,7 +310,7 @@ private:
|
||||
//spdlog::info("New client!");
|
||||
|
||||
_this->client = std::move(_client);
|
||||
_this->client->readAsync(1024, _this->dataBuf, dataHandler, _this);
|
||||
_this->client->readAsync(1024, _this->dataBuf, dataHandler, _this, false);
|
||||
_this->client->waitForEnd();
|
||||
_this->client->close();
|
||||
|
||||
@ -331,7 +331,7 @@ private:
|
||||
if (_this->command.size() < MAX_COMMAND_LENGTH) { _this->command += (char)data[i]; }
|
||||
}
|
||||
|
||||
_this->client->readAsync(1024, _this->dataBuf, dataHandler, _this);
|
||||
_this->client->readAsync(1024, _this->dataBuf, dataHandler, _this, false);
|
||||
}
|
||||
|
||||
void commandHandler(std::string cmd) {
|
||||
|
Reference in New Issue
Block a user