diff --git a/codelab/TcpServerLab/Program.cs b/codelab/TcpServerLab/Program.cs index 761ff94c..11481be4 100644 --- a/codelab/TcpServerLab/Program.cs +++ b/codelab/TcpServerLab/Program.cs @@ -49,6 +49,8 @@ private static void Main() if (true) { TcpClient client = listener.AcceptTcpClient(); + Console.WriteLine("TCP client connected: {0}", client.Client.RemoteEndPoint); + NetworkStream networkStream = client.GetStream(); memoryStream.Seek(0, SeekOrigin.Begin); memoryStream.CopyTo(networkStream);