TCP Socket Tutorial (C#, Visual Studio, Networked Console Apps) https://www.youtube.com/watch?v=g5yEWLJxNmI Source from wolfs cry games client app code using System; using System.Net.Sockets; using System.Text; using System.IO; namespace ClientSocketApp { class Program { static void Main(string[] args) { connection: try { TcpClient client = new TcpClient("127.0.0.1", 1302); string messageToSend = "My name is Neo"; int byteCount = Encoding.ASCII.GetByteCount(messageToSend + 1); byte[] sendData = Encoding.ASCII.GetBytes(messageToSend); NetworkStream stream = client.GetStream(); stream.Write(sendData, 0, sendData.Length); Console.WriteLine("sending data to server..."); StreamReader sr = new StreamReader(stream); string response = sr.ReadLine();