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