/// <summary>
        /// Tests 100 clients connecting to a server, and sending 2 messages to those clients.
        /// </summary>
        static void Stress_test_4(bool local, ILogger logger1)
        {
            if (!local)
            {
                Console.WriteLine("This test is only for a local setup");
                return;
            }

            ChatServer server = new ChatServer(logger1);

            server.StartServerTest(-1, "");

            Thread.Sleep(1000);

            for (int i = 0; i < 100; i++)
            {
                ChatClient client = new ChatClient(11000);
                client.ConnectToServer("127.0.0.1");
            }

            Thread.Sleep(5000);


            server.SendMessage("Hello, everyone!");
            Thread.Sleep(3000);
            server.SendMessage("Goodbye, everyone!");
        }
        /// <summary>
        /// Tests a single client connecting to a server, and sending a message to that client.
        /// </summary>
        static void Stress_test_5(bool remote, ILogger logger1, ILogger logger2)
        {
            if (!remote)
            {
                Console.WriteLine("This test is only for a remote setup");
                return;
            }

            Console.WriteLine("Enter the port number for this test: ");
            string port = Console.ReadLine();

            if (!Int32.TryParse(port, out int finalPort))
            {
                Console.WriteLine("Invalid port, exiting program!");
                return;
            }

            Console.WriteLine("Enter the IP Address for this test: ");
            string ipAddress = Console.ReadLine();

            ChatServer server = new ChatServer(logger1);

            server.StartServerTest(finalPort, ipAddress);

            Thread.Sleep(1000);

            ChatClient client = new ChatClient(finalPort, logger2);

            client.ConnectToServer(ipAddress);

            Thread.Sleep(1000);


            server.SendMessage("Hello, world!");
        }
        /// <summary>
        /// Tests 2 clients connecting to a server, and sending a message to those clients.
        /// </summary>
        static void Stress_test_2(bool local, ILogger logger1, ILogger logger2, ILogger logger3)
        {
            if (!local)
            {
                Console.WriteLine("This test is only for a local setup");
                return;
            }

            ChatServer server = new ChatServer(logger1);

            server.StartServerTest(-1, "");

            Thread.Sleep(1000);

            ChatClient client  = new ChatClient(11000, logger2);
            ChatClient client2 = new ChatClient(11000, logger3);

            client.ConnectToServer("127.0.0.1");
            client2.ConnectToServer("127.0.0.1");

            Thread.Sleep(1000);


            server.SendMessage("Hello, world!");
        }