mirror of
https://github.com/modelec/TCPSocketServer.git
synced 2026-03-25 17:10:41 +01:00
Omg v4 ?
This commit is contained in:
@@ -97,6 +97,11 @@ void TCPServer::acceptConnections()
|
||||
void TCPServer::handleMessage(const std::string& message, int clientSocket)
|
||||
{
|
||||
std::cout << "Message from : " << clientSocket << " : " << message << std::endl;
|
||||
|
||||
if (message.find("request robotPose") != std::string::npos)
|
||||
{
|
||||
broadcastMessage("robotPose 12 13 14 15");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user