[squeak-dev] Figuring out external IP addresses of network interfaces

Ron Teitelbaum ron at usmedrec.com
Sun Mar 5 14:49:45 UTC 2017


Hi Edgar,

You can use the IP Address to get a location.  We use http://freegeoip.net,
then you just need to do some math to get the distance.
http://www.movable-type.co.uk/scripts/latlong.html

Here is more info on what we are using it for
http://www.3dicc.com/immersive-terf-global-router-framework/

All the best,

Ron Teitelbaum
www.3dicc.com





On Sun, Mar 5, 2017 at 2:25 AM Edgar De Cleene <edgardec2005 at gmail.com>
wrote:

>
>
> On Mar 5, 2017, at 01:46, Ron Teitelbaum <ron at usmedrec.com> wrote:
>
> I use the client IP address to calculate the distance from the client
> connecting to each server so that I can select the closest one and reduce
> latency.
>
>
> Hi Ron.
> Could you elaborate more?.
> I
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20170305/d785b714/attachment.html>


More information about the Squeak-dev mailing list