Network code documentation for my turn-based game 1.0
|
#include "types.h"
Go to the source code of this file.
Classes | |
struct | ClientData |
ClientData is a struct which contains the username of a client and its port number. It is used by the Lobby class to provide an easy way to differentiate the clients in a game and facilitate the packet communications between them. More... | |
class | Lobby |
Lobby is a class which provides a simple, naive way of differentiating between the different clients connected to the server. It uses the ClientData struct to simplify packet communications between two players in a game. More... | |