Example #1
0
void ProtocolGame::onConnect()
{
	OutputMessage out;

	out.addByte(NET_GAME_WELCOME);
	out.addString("Welcome to the game server");

	send(out);
	recv();
}