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