gserver-remake/GServer.Server/Program.cs
2024-05-20 19:59:37 +01:00

20 lines
No EOL
397 B
C#

using System.Net;
using GServer.Server;
internal class Program
{
private const int LISTEN_PORT = 11000;
private static void Main(string[] args)
{
UDPGameServer udpGameServer = new(new IPEndPoint(IPAddress.Any, LISTEN_PORT));
udpGameServer.Start();
while (true)
{
_ = udpGameServer.ProcessAsync();
}
}
}