• 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: How to broadcast to 255.255.255.255 on non-default interface
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to broadcast to 255.255.255.255 on non-default interface


  • Subject: Re: How to broadcast to 255.255.255.255 on non-default interface
  • From: Peter Sichel <email@hidden>
  • Date: Sat, 7 Mar 2009 16:17:15 -0500

On Mar 7, 2009, at 2:04 PM, Craig Carrier wrote:

I'm trying to do a UDP broadcast to the 255.255.255.255 address to all
interfaces.

How does a DHCP server do this. It must be able to send broadcasts down a
chosen interface other than the default one.

It's common practice to use libpcap for receive and bpftransmit for send when implementing DHCP servers or clients (at least that's how I do it :-). There's an example of using bpftransmit in the darwin bootp project.


- Peter Sichel
  Sustainable Softworks

_______________________________________________
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: 
 >How to broadcast to 255.255.255.255 on non-default interface (From: Craig Carrier <email@hidden>)

  • Prev by Date: How to broadcast to 255.255.255.255 on non-default interface
  • Next by Date: Returning Distant IP Address from CFReadStream
  • Previous by thread: How to broadcast to 255.255.255.255 on non-default interface
  • Next by thread: Returning Distant IP Address from CFReadStream
  • Index(es):
    • Date
    • Thread