using System;using System.Net;using System.Net.Sockets;namespace OOSys{class Program{static void Main(string[] args){Console.WriteLine("Please type something and press Enter:");string userInputString;userInputString = Console.ReadLine();Console.WriteLine("You typed: " + userInputString);Console.ReadLine(); // Stops concolse from disappearing.Socket socClient = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.IP);IPEndPoint remoteEP = new IPEndPoint(IPAddress.Parse("10.10.101.200"), 8221);socClient.Connect(remoteEP);try{byte[] byData = System.Text.Encoding.ASCII.GetBytes(userInputString);socClient.Send(byData);}catch (SocketException se){Console.WriteLine(se);}}}}