I've read How can I send visitors to the closest server using DNS? post, but there's still some thing, on a practical level that I don't understand.
Say I have two servers. One in NY another in Paris. Both of them have different IP adresses 18.104.22.168, and 22.214.171.124 which were assigned to them by the ISP (or hosting companies)
Which steps do I need to follow so that people in Europe, when they type http://blabla.com:8080 will be translated to the IP of the nearest server with respect to the client?
My final goal is to increase the speed of a TCP-Socket application I've written, by directing users to the nearest server.
UPDATE: Thank guys for the answers. I guess there's a lot more for me to learn :\ before I can actually achieve this.