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;
187
await
_tcpClient
.ConnectAsync(endpoint.Address, endpoint.Port);
189
if (
_tcpClient
.Connected)
192
var bufferedStream = new PlatformStream().CreateBufferedStream(
_tcpClient
.GetStream(), SocketConstants.BufferSize);
193
var networkStream =
_tcpClient
.GetStream();
208
while ((
_tcpClient
!= null) && !
_tcpClient
.Connected && watch.ElapsedMilliseconds < connectionTimeout);
233
_tcpClient
?.Close();