Initial dedicated server stub class

This commit is contained in:
Joshua Ashton 2020-07-24 10:17:36 +01:00
parent f67a7b697c
commit 1082e846d9
2 changed files with 28 additions and 0 deletions

13
src/DedicatedServer.cpp Normal file
View File

@ -0,0 +1,13 @@
#include "DedicatedServer.h"
namespace Feather
{
DedicatedServer::DedicatedServer(uint16_t port)
: m_socket(port)
{
}
DedicatedServer::~DedicatedServer()
{
}
}

15
src/DedicatedServer.h Normal file
View File

@ -0,0 +1,15 @@
#pragma once
#include "util/SocketUtil.h"
namespace Feather
{
class DedicatedServer
{
public:
DedicatedServer(uint16_t port);
~DedicatedServer();
private:
Sockets::TCPSocket m_socket;
};
}