Initial dedicated server stub class
This commit is contained in:
parent
f67a7b697c
commit
1082e846d9
|
@ -0,0 +1,13 @@
|
|||
#include "DedicatedServer.h"
|
||||
|
||||
namespace Feather
|
||||
{
|
||||
DedicatedServer::DedicatedServer(uint16_t port)
|
||||
: m_socket(port)
|
||||
{
|
||||
}
|
||||
|
||||
DedicatedServer::~DedicatedServer()
|
||||
{
|
||||
}
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue