CHG: changed the return val from the tcp classes to string

This commit is contained in:
Henry Winkel
2023-07-05 18:02:23 +02:00
parent 1d154f71d4
commit 8bc80f9885
5 changed files with 10 additions and 10 deletions

View File

@@ -25,7 +25,7 @@ namespace DirectCommunication
~DirectCommunicationClient();
void sendMessage(std::string msg);
std::unique_ptr<std::string> getLatestMessage();
std::string getLatestMessage();
private:
ushort port_;

View File

@@ -25,7 +25,7 @@ namespace DirectCommunication
~DirectCommunicationServer();
void sendMessage(std::string msg);
std::unique_ptr<std::string> getLatestMessage();
std::string getLatestMessage();
int countClients();