public bool Start() { Server = new NTServer(); if (Server.Start()) { IsServerOnline = true; return(true); } return(false); }
public NTClient(NTServer server, TcpClient client, User user) { Server = server; Connection = client; User = user; Name = User.Name + ", " + User.Age; ClientThread = new Thread(ReadClient) { Name = "ClientThread", IsBackground = true }; ClientThread.Start(); }