private static void OnClientAccepted(Socket socket) { KartClient client = new KartClient(socket); Log.Inform("Accepted connection from {0}.", client.Label); Server.AddClient(client); }
public static void RemoveClient(KartClient client) { Server._clients.Remove(client); }
public static void AddClient(KartClient client) { Server._clients.Add(client); }