CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: IP Issue

  1. #1
    Join Date
    Nov 2007
    Posts
    51

    IP Issue

    Hi!

    I have searched a lot for this, but haven't found any answer. I have seen many programs and web-applications for geo-locating IP-addresses. I still haven't figured out how to tell in which country the IP-address s h o u l d belong to (geo-locating is 98% accurate as I know. Can anyone here give me some formula to do it yourself or is it possible only for computers?

    Thanks.

  2. #2
    Join Date
    Aug 2007
    Location
    Birmingham, UK
    Posts
    360

    Re: IP Issue

    I presume all these services do is use the RIPE whois database for the IP addresses. More info can be found on their website.

  3. #3
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,125

    Re: IP Issue

    That is the general basis. It is sometimes enhanced by doing a (effective) TraceRT and looking at the locations of points along the way to weed out "anomolies".
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

  4. #4
    Join Date
    Nov 2002
    Location
    California
    Posts
    4,556

    Re: IP Issue

    For very rough and potentially inaccurate results, you can use something like "Map of the Internet: the IPv4 Space, 2006", at (for example) http://xkcd.com/195/

    For much more accurate results, use a database such as that at http://ip.ludost.net/

    Note that the whois service is probably not helpful

    Mike

  5. #5
    Join Date
    Nov 2007
    Posts
    51

    Re: IP Issue

    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured