Files
OpenFusion/src/Monitor.hpp
dongresource 92307063fc Integrate the monitor's listener socket into the shard's poll()
This removes the need for a separate monitor thread.
2020-12-06 01:44:37 +01:00

13 lines
197 B
C++

#pragma once
#include "CNProtocol.hpp"
#include <list>
#include <mutex>
namespace Monitor {
SOCKET init();
void tick(CNServer *, time_t);
bool acceptConnection(SOCKET, uint16_t);
};