Re: UDP broadcasting all to but me
Re: UDP broadcasting all to but me
- Subject: Re: UDP broadcasting all to but me
- From: Tomas Zahradnicky <email@hidden>
- Date: Wed, 3 Mar 2004 22:33:18 +0100
Hi Joshua,
Multicast will give you a number of benefits. There is a socket
option (IP_MULTICAST_LOOP) to enable/disable receiving your own
multicasts.
Thats great.
link-local multicasts can also be received by every device on the
local network regardless of subnet. In addition, there are socket
options for specifying which interface the multicast packet will be
sent on. Broadcasts can only be sent on Mac OS X as subnet
broadcasts and you can not control which interface the broadcast
will be sent on. There are some ways to work around some of the
broadcast problems, but it's much more difficult than switching to
multicast.
OK. I'll read the relevant portions in OpenTransport (since it needs
to run in CFM as well) and Stevens UNP books.
Thanks,
Tomas
_______________________________________________
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.