diff --git a/chat_networking.hpp b/chat_networking.hpp index 5433b39..e236dc1 100644 --- a/chat_networking.hpp +++ b/chat_networking.hpp @@ -75,6 +75,12 @@ namespace chat switch (data[0]) { // TODO: handle stuff + case byte(message::LOGIN): + std::cout << "login\n"; + break; + case byte(message::PING): + std::cout << "ping\n"; + break; } receive();