Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace Client
- {
- class Program
- {
- static void Main(string[] args)
- {
- const int port = 63003;
- var client = new Client();
- while (true)
- {
- string command = Console.ReadLine();
- if (command == "exit")
- {
- return;
- }
- var responce = client.GetResponce(port, command);
- string answer = responce.Result;
- Console.WriteLine(answer);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement