public bool AddServer(string field)
        {
            string[] ip = field.Split(':');

            if (!IPAddress.TryParse(ip[0], out IPAddress iPAddress))
            {
                return(false);
            }
            if (!int.TryParse(ip[1], out int port))
            {
                return(false);
            }

            var s = new ServerIdentity()
            {
                IPEndPoint = new IPEndPoint(iPAddress, port)
            };

            Idlist.AddIdentity(null, s); //TODO See Null
            ServerXml.AddServerToXml(s);
            return(true);
        }
 public bool AddServer(ServerIdentity id, Socket server)
 {
     Idlist.AddIdentity(server, id);
     ServerXml.AddServerToXml(id);
     return(true);
 }