public void RenameClient(string currName, string newName)
        {
            CNSocket socket = GetClient(currName);

            socket.name = newName;
            clients.Add(socket);
        }
        public CNSocket GetClient(string name)
        {
            CNSocket Out = new CNSocket(null, "ERROR GETTING CNSOCKET");

            foreach (CNSocket s in clients)
            {
                if (s.name == name)
                {
                    Out = s;
                }
            }
            return(Out);
        }