Re: How to broadcast to 255.255.255.255 on non-default interface
site_archiver@lists.apple.com Delivered-To: Macnetworkprog@lists.apple.com 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. - Peter Sichel Sustainable Softworks _______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (Macnetworkprog@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macnetworkprog/site_archiver%40lists.... 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Peter Sichel