I Know how to resolve a list of servers, but i can't seem to figure out how to ping each one in order to find the fastest one, can anyone shine some light on this?
You would need to send each one the ICMP ping packet as described in RFC 2925 (http://www.faqs.org/rfcs/rfc2925.html) to determine which has the fastest latency.