public List<int> ReadAllAsInts() { var results = new List<int>(); while (cmdCount-- > 0) { results.Add(client.ReadInt()); } return results; }