5 writes to _dataSocket
System.Net.Requests (5)
System\Net\FtpControlStream.cs (5)
111connection._dataSocket = listenSocket.EndAccept(asyncResult); 228_dataSocket = null; 699_dataSocket = CreateFtpDataSocket(Socket); 744_dataSocket = _dataSocket!.Accept(); 1105_dataSocket = CreateFtpDataSocket(Socket);
19 references to _dataSocket
System.Net.Requests (19)
System\Net\FtpControlStream.cs (19)
89Socket? socket = _dataSocket; 108Socket listenSocket = connection._dataSocket!; 112if (!connection.ServerAddress.Equals(((IPEndPoint)connection._dataSocket.RemoteEndPoint!).Address)) 114connection._dataSocket.Close(); 138connection._dataSocket!.EndConnect(asyncResult); 167if (_dataSocket == null) 182_dataStream = new NetworkStream(_dataSocket, true); 347if (_dataSocket == null) 707_dataSocket.Bind(localEndPoint); 721_dataSocket!.BeginConnect(passiveEndPoint, s_connectCallbackDelegate, this); 726_dataSocket!.Connect(passiveEndPoint); 736_dataSocket!.BeginAccept(s_acceptCallbackDelegate, this); 741Socket listenSocket = _dataSocket!; 744_dataSocket = _dataSocket!.Accept(); 745if (!ServerAddress.Equals(((IPEndPoint)_dataSocket.RemoteEndPoint!).Address)) 747_dataSocket.Close(); 1113_dataSocket.Bind(epListener); 1114_dataSocket.Listen(1); // Put the dataSocket in Listen mode 1125IPEndPoint localEP = (IPEndPoint)_dataSocket!.LocalEndPoint!;