Example #1
0
        static void Main(string[] args)
        {
            var serverIpEndPoint = new IPEndPoint(IPAddress.Parse("185.114.38.138"), 3000);
            var mathClient       = new MathClient(serverIpEndPoint);

            mathClient.Run();
        }
Example #2
0
        static void Main(string[] args)
        {
            //MathClient client = new MathClient(ServiceType.TCP, IPAddress.Parse("192.168.1.4"), 4500);

            MathClient client = new MathClient(ServiceType.UDP, IPAddress.Parse("192.168.1.4"), 4500);

            client.Connect();
            client.Ask();
        }