2 writes to Socket
System.Net.NetworkInformation (2)
System\Net\NetworkInformation\NetworkAddressChange.Unix.cs (2)
169
Socket
= new Socket(sh);
182
Socket
= null;
10 references to Socket
System.Net.NetworkInformation (10)
System\Net\NetworkInformation\NetworkAddressChange.Unix.cs (10)
58
if (
Socket
== null)
75
Debug.Assert(
Socket
== null,
101
if (
Socket
== null)
127
Debug.Assert(
Socket
== null,
155
Debug.Assert(
Socket
== null, "Socket is not null, must close existing socket before opening another.");
173
_ = ReadEventsAsync(
Socket
);
180
Debug.Assert(
Socket
!= null, "Socket was null when CloseSocket was called.");
181
Socket
.Dispose();
232
if (
Socket
!= null && socket ==
Socket
.Handle)