2 writes to _tcpClient
Microsoft.TestPlatform.CommunicationUtilities (2)
SocketCommunicationManager.cs (2)
176_tcpClient = new TcpClient { NoDelay = true }; 234_tcpClient = null;
8 references to _tcpClient
Microsoft.TestPlatform.CommunicationUtilities (8)
SocketCommunicationManager.cs (8)
177_socket = _tcpClient.Client; 187await _tcpClient.ConnectAsync(endpoint.Address, endpoint.Port); 189if (_tcpClient.Connected) 192var bufferedStream = new PlatformStream().CreateBufferedStream(_tcpClient.GetStream(), SocketConstants.BufferSize); 193var networkStream = _tcpClient.GetStream(); 208while ((_tcpClient != null) && !_tcpClient.Connected && watch.ElapsedMilliseconds < connectionTimeout); 233_tcpClient?.Close();