5 writes to m_ServerSocket
System (5)
net\System\Net\Sockets\TCPListener.cs (5)
39
m_ServerSocket
= new Socket(m_ServerSocketEP.AddressFamily, SocketType.Stream, ProtocolType.Tcp);
58
m_ServerSocket
= new Socket(m_ServerSocketEP.AddressFamily, SocketType.Stream, ProtocolType.Tcp);
79
m_ServerSocket
= new Socket(m_ServerSocketEP.AddressFamily, SocketType.Stream, ProtocolType.Tcp);
210
m_ServerSocket
= null;
213
m_ServerSocket
= new Socket(m_ServerSocketEP.AddressFamily, SocketType.Stream, ProtocolType.Tcp);
17 references to m_ServerSocket
System (17)
net\System\Net\Sockets\TCPListener.cs (17)
104
return
m_ServerSocket
;
128
return m_Active ?
m_ServerSocket
.LocalEndPoint : m_ServerSocketEP;
134
return
m_ServerSocket
.ExclusiveAddressUse;
140
m_ServerSocket
.ExclusiveAddressUse = value;
151
m_ServerSocket
.SetIPProtectionLevel(IPProtectionLevel.Unrestricted);
154
m_ServerSocket
.SetIPProtectionLevel(IPProtectionLevel.EdgeRestricted);
176
if (
m_ServerSocket
== null)
185
m_ServerSocket
.Bind(m_ServerSocketEP);
187
m_ServerSocket
.Listen(backlog);
208
if (
m_ServerSocket
!= null) {
209
m_ServerSocket
.Close();
216
m_ServerSocket
.ExclusiveAddressUse = true;
231
return
m_ServerSocket
.Poll(0, SelectMode.SelectRead);
244
Socket socket =
m_ServerSocket
.Accept();
258
Socket acceptedSocket =
m_ServerSocket
.Accept();
275
IAsyncResult result =
m_ServerSocket
.BeginAccept(callback,state);
308
IAsyncResult result =
m_ServerSocket
.BeginAccept(callback,state);