PumpkinBrush
|
Server that will receive commands from Clients and send commands to Clients allowing concurrently operations on multiple canvases. More...
#include <SFML/Network.hpp>
#include <string.h>
#include <iostream>
#include <queue>
#include <vector>
#include <thread>
#include <mutex>
#include <map>
#include <condition_variable>
Classes | |
struct | metaData |
This struct represents meta data that will be sent to and from the server. It will be used to pack into the SFML API's Packet class and also to unpack that same data. More... | |
class | Painter |
This class represents the operations the threads in the main function of Server.cpp will execute. More... | |
Functions | |
int | main (int argc, char *argv[]) |
The entry point into our program. More... | |
Server that will receive commands from Clients and send commands to Clients allowing concurrently operations on multiple canvases.
int main | ( | int | argc, |
char * | argv[] | ||
) |
The entry point into our program.