• 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: Select server based on proximity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Select server based on proximity


  • Subject: Re: Select server based on proximity
  • From: "email@hidden" <email@hidden>
  • Date: Mon, 6 Dec 2010 21:50:02 +0000

On 6 Dec 2010, at 21:38, Heizer, Charles wrote:

> I'm writing a app that will download and install some software. I would
> like to use a distributed download model where the client has a list of
> servers and determines which is the one closest to it's self and uses that
> one.
>
> Is there a API or something to do this?
>
> Thanks,
> Charles
>

What about using traceroute(8) to count hops?

Richard Stevens gives a C implementation example:

http://books.google.co.uk/books?id=ptSC4LpwGA0C&pg=PA755&lpg=PA755&dq=traceroute+api&source=bl&ots=Kq9yRnbqOq&sig=RywJNgi3MG21DbSIIO5-7oJqVeQ&hl=en&ei=Gln9TKnVNcrPhAfTu4SVCw&sa=X&oi=book_result&ct=result&resnum=6&sqi=2&ved=0CEAQ6AEwBQ#v=onepage&q=traceroute api&f=false

Regards

Jonathan Mitchell

Developer
Mugginsoft LLP
http://www.mugginsoft.com



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Select server based on proximity (From: "Heizer, Charles" <email@hidden>)

  • Prev by Date: Select server based on proximity
  • Next by Date: Updating progress of UIProgressView. And Getting Better Saving Performance
  • Previous by thread: Select server based on proximity
  • Next by thread: Updating progress of UIProgressView. And Getting Better Saving Performance
  • Index(es):
    • Date
    • Thread