Building a Game Server in C++ #4: Let’s talk protocol
As promised in the previous article, we will define the application protocol (over TCP) that will be used to manage the user’s session. As I mentioned before, it should be text-based, and every line of text received will correspond to one prompt (or command). This functionality is already covered in sessionThread(), where prompts are assembled…
