static void Main(string[] args) { var client = new Client("25.133.204.102"); string msg = null; while (msg != "exit") { Console.Write("Enter image path: "); msg = Console.ReadLine(); client.send(msg); } }