Re: How to broadcast to 255.255.255.255 on non-default interface
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