mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 14:49:19 +02:00
work
This commit is contained in:
12
network/manager.cpp
Normal file
12
network/manager.cpp
Normal 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();
|
||||
}
|
||||
Reference in New Issue
Block a user