[Solved] How can I open application using C# from port 9999 [closed]
you could try this private void SendToServer(IPAddress IP, int Port) { try { TcpClient tcpclnt = new TcpClient(); tcpclnt.Connect(IP, Port); //your code here } UPDATE For the server you’ll use this public static void Main() { TcpListener serverSocket = new TcpListener(9999); TcpClient clientSocket = default(TcpClient); int counter = 0; serverSocket.Start(); Console.WriteLine(” >> ” + “Server … Read more