You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The UdpClient cannot listen to IPv6 multicast messages. #110889
the UdpClient cannot listen to IPv6 multicast messages.
code:
Before this, someone else has encountered this issue: #83336
Reproduction Steps
var localEndPoint = new IPEndPoint( IpAddrOfNetworkInterface, 15118);
var udpClient = new UdpClient(localEndPoint);
//
var multicastAddress = IPAddress.Parse("FF02::1");
udpClient.JoinMulticastGroup(multicastAddress);
var remoteEndPoint= new IPEndPoint(IPAddress.IPv6Any, 0);
var data= udpClient.Receive(ref remoteEndPoint);
Console.WriteLine("receive ipv6 Multicast Group message ok!");
Expected behavior
The console should output information.
Actual behavior
The console has no output.
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
I can receive multicast messages using a network debugging tool.
received datas:
There are multiple network interface on my computer, could that be the reason?
Activity
dotnet-policy-service commentedon Dec 22, 2024
Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.
[-]IPv6 multicast BUG[/-][+]The UdpClient cannot listen to IPv6 multicast messages.[/+]dotnet-policy-service commentedon Dec 22, 2024
Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.
snikeguo commentedon Dec 23, 2024
@antonfirsov