2 writes to Socket
System.Net.NetworkInformation (2)
System\Net\NetworkInformation\NetworkAddressChange.Unix.cs (2)
167
Socket
= new Socket(sh);
180
Socket
= null;
10 references to Socket
System.Net.NetworkInformation (10)
System\Net\NetworkInformation\NetworkAddressChange.Unix.cs (10)
57
if (
Socket
== null)
74
Debug.Assert(
Socket
== null,
99
if (
Socket
== null)
125
Debug.Assert(
Socket
== null,
153
Debug.Assert(
Socket
== null, "Socket is not null, must close existing socket before opening another.");
171
_ = ReadEventsAsync(
Socket
);
178
Debug.Assert(
Socket
!= null, "Socket was null when CloseSocket was called.");
179
Socket
.Dispose();
230
if (
Socket
!= null && socket ==
Socket
.Handle)