04-08-2015 12:30 PM
Hi,
I am trying to monitor the DHCP discovery port using the CVI UDP tools. The port is on multicast address 0.0.0.0 (aka 255.255.255.255).
When I try the following;
status = UDPMulticastSubscribe (MDchanHandle, "0.0.0.0", NULL);
It gives me a runtime error telling me that this is not a valid multicast address.
What am I doing wrong?
Thanks
Andy
04-08-2015 12:49 PM
According to the CVI help valid multicast addresses (Class D) range from 224.0.0.0 to 239.255.255.255.
04-08-2015 01:36 PM
Hi,
I solved it. Basic mistake. 255.255.255.255 is a broadcast address not a multicast address so I just had to set up a UDP unicast channel on the correct port and it will monitor the broadcast data on that port number.
Regards
Andy