objective c - LAN multicast enabled or not? -
i trying write code on osx in c (can use objective-c if easier) determine if multicast enabled on current machine (router machine connected to). trying following steps:
- open port , send data on multicast.
- listen responses on active adapters.
- filter out 'loopback' adapter.
- if no replies, multicast disabled.
being new network programming, don't understand how response active adapters sending out random data, unless had software installed on machines listening. there multicast ip reserved elicit response, or there better way go doing this?
to determine if machine has ip multicast addresses active (which think mean "multicast enabled"), @ routing table , see if find 1 or more ip v4 addresses in range 224.0.0.0 239.255.255.255.
Comments
Post a Comment