mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2026-02-16 15:40:39 +00:00
13 lines
207 B
C++
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();
|
|
}
|