added some proof of concept receive handling in client_network_manager
This commit is contained in:
parent
36f0aca693
commit
ee9e5c812b
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user