site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Jun 29, 2005, at 11:44 AM, Chase wrote: On Jun 29, 2005, at 10:19 AM, Allen Smith wrote: Thanks, seriously, to everyone who helped out on this. Cheers. - Chase This email sent to andre-smith@speakeasy.net _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... The routing tables that exist on a workstation or even a server will usually only contain the route for a default router; this could also obtained using a DCHP server. If you want to discover routes advertised by routers, you probably need to implement BGP, etc. There are numerous routing protocols described in detail by RFCs, just do a google search, and you should be well on your way. Be forewarned, it will take a lot more code than a simple ping to obtain advertised routes from internet routers. Good Luck. 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. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/andre-smith% 40speakeasy.net This email sent to site_archiver@lists.apple.com