• 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 broadcasting all to but me
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UDP broadcasting all to but me


  • Subject: Re: UDP broadcasting all to but me
  • From: Joshua Graessley <email@hidden>
  • Date: Wed, 3 Mar 2004 13:18:18 -0800

Multicast will give you a number of benefits. There is a socket option
(IP_MULTICAST_LOOP) to enable/disable receiving your own multicasts.
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.

-josh

On Mar 3, 2004, at 11:23 AM, Tomas Zahradnicky wrote:

> Hi guys,
>
>
> I'm programming a code that does UDP broadcasts. Since this is done
> from a plug-in I need to set REUSEADDR and REUSEPORT socket options
> because there can be several simultaneous instances of the same code.
>
> The problem is that everyone gets the broadcasted message (including
> me). Is there a way how to broadcast to all but me? [i.e. some socket
> option or so.].
>
> What would be the best way? Use multicast, do HW address filtering or
> there's something I missed?
>
> Thanks,
>
> Tomas
> --
> Ing. Tomas Zahradnicky, Jr.
> Production Manager, 24U Software
> Associate Member, Filemaker Solutions Alliance
> mailto:email@hidden
> http://www.24uSoftware.com
> _______________________________________________
> 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.

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.


  • Follow-Ups:
    • Re: UDP broadcasting all to but me
      • From: Tomas Zahradnicky <email@hidden>
References: 
 >UDP broadcasting all to but me (From: Tomas Zahradnicky <email@hidden>)

  • Prev by Date: WebServices and HTTPS-Proxy
  • Next by Date: Re: UDP broadcasting all to but me
  • Previous by thread: UDP broadcasting all to but me
  • Next by thread: Re: UDP broadcasting all to but me
  • Index(es):
    • Date
    • Thread