Implementing server select.