IP Multicasting in Classic
IP Multicasting in Classic
- Subject: IP Multicasting in Classic
- From: Mark Hunt <email@hidden>
- Date: Wed, 20 Nov 2002 11:51:20 +0000
Hi
Hopefully, this a more sensible question than the last one ;-)
I have to provide multicast or broadcast UDP traffic on the local
network (ttl = 1), which has to run in all environments (OS9,
Classic, OSX).
I can set up a multicast UDP receiver which works fine under OS9.2,
but fails in Classic. I don't get any errors, just no data!
I can run it as root, or as a normal user, it makes no difference.
My multicast addresses work out to:
IP = E0,42,88,0E
Enet = 01,00,5E,42,88,0E.
If I change the Ethernet address in the packets to "broadcast",
keeping the IP address the same, it works under Classic, too.
It seems Classic isn't able to add a multicast address to the system,
though it is able to add the multicast IP address.
I've had similar problems adding multicast addresses to an NDRV
socket, problems which were fixed in Jaguar (thanks for that) - is
this a related problem?
Personally, I've no problem with broadcasting my data - there should
be no "uninterested" machines connected to the network while my
system is running - but:
1) Is there a way to make this work properly?
2) If not, is it really uncool to broadcast (in the Ethernet sense)
multicast UDP datagrams?
Thanks
Mark
--
Mark Hunt, Light & Sound Design Ltd
(email@hidden)
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.