Files
BeamMP-Server/src/Network 2.0/NetworkMain.cpp
Anonymous275 6c93ea7fb2 v0.43
2020-07-02 00:20:35 +03:00

13 lines
207 B
C++

#include "Client.hpp"
#include <thread>
void TCPServerMain();
void UDPServerMain();
std::set<Client*> Clients;
void NetMain() {
std::thread TCP(TCPServerMain);
TCP.detach();
UDPServerMain();
}