7 writes to DualMode
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
SocketTransportOptions.cs (1)
148
listenSocket.
DualMode
= true;
System.Net.Ping (1)
System\Net\NetworkInformation\Ping.RawSocket.cs (1)
74
socket.
DualMode
= false;
System.Net.Requests (1)
System\Net\FtpControlStream.cs (1)
1171
socket.
DualMode
= true;
System.Net.Sockets (4)
System\Net\Sockets\Socket.cs (1)
77
DualMode
= true;
System\Net\Sockets\Socket.Unix.cs (1)
173
if (_handle.IsTrackedOption(TrackedSocketOptions.DualMode))
DualMode
= _handle.DualMode;
System\Net\Sockets\SocketAsyncEventArgs.cs (1)
742
attemptSocket.
DualMode
= true;
System\Net\Sockets\TCPListener.cs (1)
259
if (!OperatingSystem.IsWasi()) listener.Server.
DualMode
= true;
6 references to DualMode
System.Net.Requests (1)
System\Net\FtpControlStream.cs (1)
1169
if (templateSocket.AddressFamily == AddressFamily.InterNetworkV6 && templateSocket.
DualMode
)
System.Net.Sockets (5)
System\Net\Sockets\Socket.cs (3)
657
if (_addressFamily == AddressFamily.InterNetwork || (_addressFamily == AddressFamily.InterNetworkV6 &&
DualMode
))
671
if (_addressFamily == AddressFamily.InterNetwork || (_addressFamily == AddressFamily.InterNetworkV6 &&
DualMode
))
775
return AddressFamily == AddressFamily.InterNetworkV6 &&
DualMode
;
System\Net\Sockets\SocketPal.Unix.cs (1)
37
if (!SupportsDualModeIPv4PacketInfo && socket.AddressFamily == AddressFamily.InterNetworkV6 && socket.
DualMode
)
System\Net\Sockets\UDPClient.cs (1)
207
return _family == AddressFamily.InterNetworkV6 && _clientSocket.
DualMode
;