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