Skip to content

Latest commit

 

History

History
66 lines (36 loc) · 1.55 KB

namespacenetwork.md

File metadata and controls

66 lines (36 loc) · 1.55 KB
title
network

network

More...

Classes

Name
class network::Client
class network::LockedQueue
class network::Server

Types

Name
typedef std::array< char, 16 > Message
typedef std::pair< Message, unsigned int > ClientMessage
typedef std::pair< Message, std::vector< unsigned int > > ServerMessage

Detailed Description

Simple mutex-guarded queue

Server class which is used by the game server to communicate with the client

Types Documentation

typedef Message

typedef std::array<char, 16> network::Message;

Standard pair class that contains a string and the ID of the client that sent it

typedef ClientMessage

typedef std::pair<Message, unsigned int> network::ClientMessage;

typedef ServerMessage

typedef std::pair<Message, std::vector<unsigned int> > network::ServerMessage;

Updated on 2022-11-13 at 17:21:37 +0100