You could sort the list by numerical distance of the IP address. Ie.
convert the address to a 32-bit number and calculate the absolute value
of
the difference between it and the client.
I couldn't guarantee it but I'm pretty sure that's how it already works or
if it's not the difference between the current system and your proposed
one is negligible.
The system now is far superior to the last one.
As if someone in China wants a US server comming up first just because it
ends in .1. At least now there is a much much higher chance of your local
servers comming up first.
This is a change for the better, if you dont like it, host quake3 servers.
Tank
On Sun, 7 Nov 2004, ScratchMonkey wrote:
--On Sunday, November 07, 2004 6:31 PM -0600 DLinkOZ <[EMAIL PROTECTED]>
wrote:
You have to ping each, which takes you right back to where it is now.
It's just pure numbers - there are too many servers to efficiently list.
You could sort the list by numerical distance of the IP address. Ie.
convert the address to a 32-bit number and calculate the absolute value of
the difference between it and the client.
A more sophisticated algorithm would have some knowledge of what networks
are close to each other and "shortcut" the above calculation by that
distance.
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux