I want to check if data is avaiable on the UDP multicast address, the only mechanism I found was the Poll
method.
Setup:
client = new UdpClient(localEp);
client.JoinMulticastGroup(multicastAddr, localIpAddress);
client.Connect(multicastAddr, receiveport);
Polling:
if (!client.Client.Poll(100, SelectMode.SelectRead))
The client is connected (I checked) but never returns true.
In wireshark I can see the udp datagrams are sent correctly.
Suggestions for fixes?
Edit:
IPEndpoint localEp = local ipv4 unicast address, port for multicast udps receiveport = port for receiving multicasts multicastaddr = IPAddress