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
1 changed files with 6 additions and 0 deletions

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