5 references to IPv6Only
System.Net.Sockets (5)
System\Net\Sockets\SafeSocketHandle.Unix.cs (1)
81
case SocketOptionName.
IPv6Only
: _trackedOptions |= TrackedSocketOptions.DualMode; return;
System\Net\Sockets\Socket.cs (2)
756
return ((int)GetSocketOption(SocketOptionLevel.IPv6, SocketOptionName.
IPv6Only
)! == 0);
767
SetSocketOption(SocketOptionLevel.IPv6, SocketOptionName.
IPv6Only
, value ? 0 : 1);
System\Net\Sockets\SocketPal.Unix.cs (2)
78
error = Interop.Sys.SetSockOpt(fd, SocketOptionLevel.IPv6, SocketOptionName.
IPv6Only
, (byte*)&on, sizeof(int));
1476
if (optionLevel == SocketOptionLevel.IPv6 && optionName == SocketOptionName.
IPv6Only
)