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])
|
switch (data[0])
|
||||||
{
|
{
|
||||||
// TODO: handle stuff
|
// TODO: handle stuff
|
||||||
|
case byte(message::LOGIN):
|
||||||
|
std::cout << "login\n";
|
||||||
|
break;
|
||||||
|
case byte(message::PING):
|
||||||
|
std::cout << "ping\n";
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
receive();
|
receive();
|
||||||
|
Loading…
Reference in New Issue
Block a user