public ClientManager(playManage p)
        {
            this.p = p;

            dialedIn = false;
            dial     = new SoundPlayer(Path.GetDirectoryName(System.Windows.Forms.Application.ExecutablePath) + "\\sounds\\ff-ringin.wav");

            clients = new List <IPEndPoint>();
            try
            {
                listener       = new UdpClient(7471);
                listenerEP     = new IPEndPoint(IPAddress.Any, 7471);
                listenerThread = new Thread(new ThreadStart(delegate { this.listen(listener, listenerEP); }));
                listenerThread.Start();
            }
            catch (Exception ex)
            {
                System.Windows.Forms.MessageBox.Show(ex.Message, "Error Starting Client Manager");
                listener       = null;
                listenerEP     = null;
                listenerThread = null;
            }
        }
        public ClientManager(playManage p)
        {
            this.p = p;

            dialedIn = false;
            dial = new SoundPlayer(Path.GetDirectoryName(System.Windows.Forms.Application.ExecutablePath) + "\\sounds\\ff-ringin.wav");

            clients = new List<IPEndPoint>();
            try
            {
                listener = new UdpClient(7471);
                listenerEP = new IPEndPoint(IPAddress.Any, 7471);
                listenerThread = new Thread(new ThreadStart(delegate { this.listen(listener, listenerEP); }));
                listenerThread.Start();
            }
            catch (Exception ex)
            {
                System.Windows.Forms.MessageBox.Show(ex.Message, "Error Starting Client Manager");
                listener = null;
                listenerEP = null;
                listenerThread = null;
            }
        }