First Server Test | Next Update: Change Commands to Attributes

This commit is contained in:
SnapixLP | Tim G.
2025-06-05 08:27:40 +02:00
parent 67bfce265c
commit 4be4ee34cb
12 changed files with 148 additions and 26 deletions

View File

@@ -12,6 +12,7 @@ public abstract class TcpServer
protected MessageSender ms;
private DX86 dx86;
public List<string> optionsList;
public Dictionary<TcpClient, string> LoggedInClients { get; }
public TcpServer(string address, int port, MessageSender ms)
@@ -26,8 +27,9 @@ public abstract class TcpServer
ms.Log("[DX86] Server Setup Complete.");
_ = RunServer();
}
private async Task RunServer()
{
ms.Log("[DX86] Starting server.");