• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UDP Multicast Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >UDP Multicast Question (From: Gordon Apple <email@hidden>)
 >Re: UDP Multicast Question (From: "Quinn \"The Eskimo!\"" <email@hidden>)

  • Prev by Date: Re: UDP Multicast Question
  • Next by Date: Self sign certificate creation
  • Previous by thread: Re: UDP Multicast Question
  • Next by thread: Gethostname returns incomplete name
  • Index(es):
    • Date
    • Thread