title |
---|
network |
Name | |
---|---|
class | network::Client |
class | network::LockedQueue |
class | network::Server |
Name | |
---|---|
typedef std::array< char, 16 > | Message |
typedef std::pair< Message, unsigned int > | ClientMessage |
typedef std::pair< Message, std::vector< unsigned int > > | ServerMessage |
Simple mutex-guarded queue
Server class which is used by the game server to communicate with the client
typedef std::array<char, 16> network::Message;
Standard pair class that contains a string and the ID of the client that sent it
typedef std::pair<Message, unsigned int> network::ClientMessage;
typedef std::pair<Message, std::vector<unsigned int> > network::ServerMessage;
Updated on 2022-11-13 at 17:21:37 +0100