Re: [RESOLVED] ICMP Router Discovery
Re: [RESOLVED] ICMP Router Discovery
- Subject: Re: [RESOLVED] ICMP Router Discovery
- From: Chase <email@hidden>
- Date: Wed, 29 Jun 2005 10:44:33 -0500
On Jun 29, 2005, at 10:19 AM, Allen Smith wrote:
5) send DHCP requests on all ports, see if you get back any router
entries for
that interface.
I was reading about how to do this last night. I think this and
BootP are gonna help me out a lot.
Without further context it's really not possible to come up with a
better
answer, and even with context it might just be a problem without a
complete
solution.
These are all great answers. Everyone has really done a great job
helping me out on this.
I have decided, for the time being, to just get the router addresses
from SystemConfiguration.framework, and it's working great, but I
think everyone here has given me more than enough info to do this in
a more portable way at a later time.
Our first release is for Mac OS X only, so this dependency is fine.
The remaining 99% of our networking codebase is POSIX-friendly, so at
least this will be the only piece of code we'll have to worry about
when and if we ever port to another platform.
Thanks, seriously, to everyone who helped out on this.
Cheers.
- Chase
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden