public static void Main() { try { db = new Database("127.0.0.1", "johndog", "root", ""); StartServer(); // use local m/c IP address, and // use the same in the client /* Initializes the Listener */ /* Start Listeneting at the specified port */ JohnDog.SayNoNewLine("Connection Manager", "The server is running at port 8000."); JohnDog.Say("Connection Manager", "The local IP address is: " + server.LocalEndpoint); JohnDog.Say("Connection Manger", "Waiting for a connection..."); } catch (Exception e) { Console.WriteLine("Error: " + e.StackTrace); Console.ReadKey(); } }