From ee9e5c812b8ad6bbec3ab429653a4a1d24af9c6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjist=C3=B3f?= Date: Sat, 3 Dec 2016 14:23:11 +0100 Subject: [PATCH] added some proof of concept receive handling in client_network_manager --- chat_networking.hpp | 6 ++++++ 1 file changed, 6 insertions(+) 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();