2 writes to Socket
System.Net.NetworkInformation (2)
System\Net\NetworkInformation\NetworkAddressChange.Unix.cs (2)
191
Socket
= new Socket(sh);
204
Socket
= null;
10 references to Socket
System.Net.NetworkInformation (10)
System\Net\NetworkInformation\NetworkAddressChange.Unix.cs (10)
65
if (
Socket
== null)
87
Debug.Assert(
Socket
== null,
118
if (
Socket
== null)
149
Debug.Assert(
Socket
== null,
177
Debug.Assert(
Socket
== null, "Socket is not null, must close existing socket before opening another.");
195
_ = ReadEventsAsync(
Socket
);
202
Debug.Assert(
Socket
!= null, "Socket was null when CloseSocket was called.");
203
Socket
.Dispose();
254
if (
Socket
!= null && socket ==
Socket
.Handle)