19 references to IPv6
System.Net.Sockets (19)
System\Net\Sockets\SafeSocketHandle.Unix.cs (1)
78case SocketOptionLevel.IPv6:
System\Net\Sockets\Socket.cs (10)
621return (short)(int)GetSocketOption(SocketOptionLevel.IPv6, SocketOptionName.IpTimeToLive)!; 642SetSocketOption(SocketOptionLevel.IPv6, SocketOptionName.IpTimeToLive, value); 696return (int)GetSocketOption(SocketOptionLevel.IPv6, SocketOptionName.MulticastLoopback)! != 0 ? true : false; 714SetSocketOption(SocketOptionLevel.IPv6, SocketOptionName.MulticastLoopback, value ? 1 : 0); 756return ((int)GetSocketOption(SocketOptionLevel.IPv6, SocketOptionName.IPv6Only)! == 0); 767SetSocketOption(SocketOptionLevel.IPv6, SocketOptionName.IPv6Only, value ? 0 : 1); 2142else if (optionLevel == SocketOptionLevel.IPv6 && (optionName == SocketOptionName.AddMembership || optionName == SocketOptionName.DropMembership)) 2195else if (optionLevel == SocketOptionLevel.IPv6 && (optionName == SocketOptionName.AddMembership || optionName == SocketOptionName.DropMembership)) 2316SocketPal.SetIPProtectionLevel(this, SocketOptionLevel.IPv6, (int)level); 3585SetSocketOption(SocketOptionLevel.IPv6, SocketOptionName.PacketInformation, true);
System\Net\Sockets\SocketPal.Unix.cs (3)
78error = Interop.Sys.SetSockOpt(fd, SocketOptionLevel.IPv6, SocketOptionName.IPv6Only, (byte*)&on, sizeof(int)); 1476if (optionLevel == SocketOptionLevel.IPv6 && optionName == SocketOptionName.IPv6Only) 1569return GetErrorAndTrackSetting(handle, SocketOptionLevel.IPv6, optionName, err);
System\Net\Sockets\UDPClient.cs (5)
415SocketOptionLevel.IPv6, 451SocketOptionLevel.IPv6, 472(_family == AddressFamily.InterNetwork) ? SocketOptionLevel.IP : SocketOptionLevel.IPv6, 499SocketOptionLevel.IPv6, 519SocketOptionLevel.IPv6,