-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Open
Labels
Milestone
Description
Description
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.

There are multiple network interface on my computer, could that be the reason?
