• 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: Multicasting Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multicasting Question


  • Subject: Re: Multicasting Question
  • From: Joshua Graessley <email@hidden>
  • Date: Wed, 29 Sep 2004 13:57:45 -0700


The SO_REUSEPORT socket option should let you bind multiple sockets to the same port. The Stevens book should cover that. Look up SO_REUSEPORT or SO_REUSEADDR in the index.


-josh

On Sep 29, 2004, at 1:38 PM, Aaron Ballman wrote:

I feel like I am missing something here. I've read up about multicasting, and I've implemented it and it's all working correct. I'm at a loss about the theory though. According to Stevens, the multicast group is completely separate from the local port you are bound to -- but you need to do both operations in order to receive multicast packets. You must be a member of the group and the packets must all be directed at the port you are listening on in order for you to receive them. This works wonderfully if you have 5 machines all bound to port X and talking via the same group. Where I am getting lost is... what if I have 2 applications on the same machine that want to be in the same group? They can't both bind to the same port, so that seems (to me at least) that it is simply not possible to have more than one application in the same group on the same machine and have both applications able to receive packets (since you can't specify multiple destination ports on a packet).

Is my assumption correct, or am I just missing the point?

~Aaron
--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com


This email sent to email@hidden

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Follow-Ups:
    • Re: Multicasting Question
      • From: Aaron Ballman <email@hidden>
References: 
 >Multicasting Question (From: Aaron Ballman <email@hidden>)

  • Prev by Date: Multicasting Question
  • Next by Date: Re: Multicasting Question
  • Previous by thread: Multicasting Question
  • Next by thread: Re: Multicasting Question
  • Index(es):
    • Date
    • Thread