I want to build an application which will get the IP address of the client machine and based on the IP address the location of the client will be determined and that info will be pasted on a Map.Does anyone have any idea how this can be done.Determining the IP address is pretty simple but i am unable to locate the machine from the IP address.If anyone has worked on this before please guide me.Waiting for the reply...
Of course, the location information is just an informed estimate. Just as "on the internet, no one knows you are a dog" on the 'net, no one really knows where an IP address is.
This may improve when IPv6 is widespread, but NATs to a great job of obfuscating location.
More importantly, sometimes, the network doesn't do what you expect. A while ago, I worked for a worldwide consulting company. When I was in their Dusseldorf Germany office, I noticed that the IP addresses were part of their Fairfax VA (USA) office. And with a little investigation, the main, fastest link was a T1 from Germany to the US. So the IP address's geolocation was off by a few thousand miles, a major ocean, and several international borders.