Initial network files

This commit is contained in:
Adam Honse 2020-04-11 13:42:32 -05:00
parent 01e0808e41
commit 594f66ab23
8 changed files with 225 additions and 0 deletions

20
NetworkServer.h Normal file
View file

@ -0,0 +1,20 @@
#include "RGBController.h"
#include "NetworkProtocol.h"
#include "net_port.h"
#pragma once
class NetworkServer
{
public:
NetworkServer(std::vector<RGBController *>& control);
void ConnectionThread();
void ListenThread();
protected:
std::vector<RGBController *>& controllers;
private:
net_port port;
};