Added stuff

This commit is contained in:
Johannes Wendel
2019-10-30 21:39:17 +01:00
parent a69a66394b
commit 63d1aa97dc

View File

@@ -40,7 +40,10 @@ void InputSocketHandler::run()
std::string str = event.getJsonString();
this->socket().sendBytes(str.c_str(), str.length());
auto size = str.size();
str = std::to_string(size) + std::to_string(0x02) + str;
this->socket().sendBytes(str.c_str(), size);
}
}