-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Labels
area-System.Net.Socketsos-linuxLinux OS (any supported distro)Linux OS (any supported distro)questionAnswer questions and provide assistance, not an issue with source code or documentation.Answer questions and provide assistance, not an issue with source code or documentation.
Milestone
Description
I'm having trouble joining mcast group on Linux
I'm using the following code:
Socket sock = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
sock.Bind(new IPEndPoint("<LOCAL_NIC_IP>", MulticastGroupPort));
sock.SetSocketOption(SocketOptionLevel.IP, SocketOptionName.AddMembership, new MulticastOption(IPAddress.Parse("<MULTICAST_GROUP_IP>")));
but I can't see any ADD_MEMBERSHIP report in WireShark
and of course I'm not receiving any data
I've tried various combinations of above, but with no success
is it possible to receive data from multicast group without using UdpClient ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-System.Net.Socketsos-linuxLinux OS (any supported distro)Linux OS (any supported distro)questionAnswer questions and provide assistance, not an issue with source code or documentation.Answer questions and provide assistance, not an issue with source code or documentation.