Why must I use default TcpClient to connect to server?

Using the following code, my client fails to connect my server: private static TcpClient client = new TcpClient(new IPEndPoint(IPAddress.Parse("127.0.0.1"), 0)); private static IPEndPoint destinationEp = new IPEndPoint(IPAddress.Parse("192.168.0.100"), 1234); //… client.Connect(destinationEp); Using TcpClient client = new TcpClient() instead will work. In the original case, my understanding is that I am setting the local IP to the… Read More Why must I use default TcpClient to connect to server?