static void Main(string[] args) { Console.Title = "UDP Server"; isRunning = true; Thread mainThread = new Thread(new ThreadStart(MainThread)); mainThread.Start(); UDPServer.Start(5, 26951); }
private void UDP() { udpServer.Start(); }