LAN multicast enabled or not?
I am trying to write code on OSX in c (can use objective-c too if easier)
to determine if multicast is enabled on the current machine. To do this I
am trying the following steps:
Open a port and send data over multicast.
Listen for responses on all active adapters.
Filter out the 'loopback' adapter.
If no replies, multicast is likely disabled.
Being new to network programming, I don't understand how I would get a
response from any active adapters by sending out random data, unless I had
software installed on the machines that were listening. Is there a certain
multicast IP reserved that will always elicit a response, or is there a
better way to go about doing this?
No comments:
Post a Comment