16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 06:59:17 +02:00
This commit is contained in:
milek7
2018-12-03 23:12:33 +01:00
parent 18ad14bc53
commit f525a77e23
13 changed files with 386 additions and 5 deletions

12
network/manager.cpp Normal file
View File

@@ -0,0 +1,12 @@
#include "network/manager.h"
#include "network/tcp.h"
network::manager::manager()
{
servers.emplace_back(std::make_shared<tcp_server>(io_context));
}
void network::manager::poll()
{
io_context.poll();
}