added some proof of concept receive handling in client_network_manager

This commit is contained in:
Kjistóf 2016-12-03 14:23:11 +01:00
parent 36f0aca693
commit ee9e5c812b

View File

@ -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();