mirror of
https://github.com/DaKerboul/perun.git
synced 2026-08-09 21:15:39 +02:00
Debug only - check performance
This commit is contained in:
@@ -64,6 +64,7 @@ public class TCPController
|
|||||||
Console.WriteLine("TCP: Waiting for packet");
|
Console.WriteLine("TCP: Waiting for packet");
|
||||||
tcpClient = tcpServer.AcceptTcpClient(); //if a connection exists, the server will accept it
|
tcpClient = tcpServer.AcceptTcpClient(); //if a connection exists, the server will accept it
|
||||||
ns = tcpClient.GetStream(); //networkstream is used to send/receive messages
|
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
|
while (tcpClient.Connected && !bDone) //while the client is connected, we look for incoming messages
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user