Debug only - check performance

This commit is contained in:
szporowolik
2019-10-04 14:43:43 +02:00
parent 35d63d072c
commit 5916ccedb3

View File

@@ -64,6 +64,7 @@ public class TCPController
Console.WriteLine("TCP: Waiting for packet");
tcpClient = tcpServer.AcceptTcpClient(); //if a connection exists, the server will accept it
ns = tcpClient.GetStream(); //networkstream is used to send/receive messages
//ns.ReadTimeout = 100;
while (tcpClient.Connected && !bDone) //while the client is connected, we look for incoming messages
{