Re: UDP Multicast Question
Re: UDP Multicast Question
- Subject: Re: UDP Multicast Question
- From: Marshall Eubanks <email@hidden>
- Date: Mon, 12 Jul 2010 09:21:59 -0400
On Jul 12, 2010, at 4:22 AM, Quinn The Eskimo! wrote:
On 2 Jul 2010, at 20:00, Gordon Apple wrote:
Are there any good examples available of how to set up a multicast
network,
especially from the Mac receiver viewpoint?
At the OS Level, for IPv4 the Mac will just work. There is nothing
special about a Mac Multicast network; the Mac does a good job of
dealing with IGMP traffic (and sourcing traffic).
(If you are talking about sending and receiving, say, multicast video
traffic, assuming the existence of the underlying network things are
pretty straightforward. You have to
- select multicast groups
- echo the stream into the appropriate multicast group
- prepare appropriate SDP files
- place them in mov reference files, or otherwise get them to the user.
None of this is specifically network related, though.)
Marshall
Apple doesn't have any sample code for this. The best place to
start would be the UDPEcho sample code.
<http://developer.apple.com/mac/library/samplecode/UDPEcho/>
From there, you can configure multicast via the standard BSD sockets
APIs. These are documented in <x-man-page://4/ip>. These are cross
platform APIs, so you can search the 'net for code from other
platforms.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/
>
Apple Developer Relations, Developer Technical Support, Core OS/
Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden