public void run()
            {
                try
                {
                    //setup server
                    server = new BoggleServer(10, "dictionary.txt");

                    //setup clients
                    BoggleClientModel target = new BoggleClientModel();
                    string IPAddress = "127.0.0.1";
                    string name = "test";

                    BoggleClientModel target2 = new BoggleClientModel();
                    string name2 = "test2";

                    target.IncomingTimeEvent += delegate(string line)
                    {
                        MRE.Set();
                    };

                    target2.IncomingTimeEvent += delegate(string line)
                    {
                        MRE1.Set();
                    };

                    //connect the clients
                    target.Connect(IPAddress, name);
                    target2.Connect(IPAddress, name2);

                    //trigger event
                    Thread.Sleep(1000);

                    Assert.AreEqual(true, MRE.WaitOne(timeout), "Timed out waiting 1");
                    Assert.AreEqual(true, MRE1.WaitOne(timeout), "Timed out waiting 2");
                }
                finally
                {
                    server.close();
                }
            }
            public void run()
            {
                try{
                //setup server
                server  = new BoggleServer(80, "dictionary.txt");

                //setup client
                BoggleClientModel target = new BoggleClientModel();
                string IPAddress = "garbageAddress";
                string name = "test";

                target.noSuchHostEvent += delegate(string line)
                {
                    MRE.Set();
                };

                //trigger event
                target.Connect(IPAddress, name);

                Assert.AreEqual(true, MRE.WaitOne(timeout), "Timed out waiting 1");
                }
                finally
                {server.close();}
            }